The current opcache documentation says that the selected prime number will be "bigger" than the value specified, while in source (https://github.com/php/php-src/blob/PHP-7.0/ext/opcache/zend_accelerator_hash.c#L43) it looks to be "greater than or equal" -- which makes sense.

I propose we make this clear in the documentation.

-- 
Provided by anonymous 65192 (mike.schroder@dreamhost.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338387 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jean-Sebastien Hedde 2015-12-31 12:50:01 +00:00
parent e3e2d8a304
commit 2ed5acf774

View file

@ -249,7 +249,7 @@
table. The actual value used will be the first number in the set of
prime numbers
<literal>{ 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987 }</literal>
that is bigger than the configured value. The minimum value is 200. The maximum
that is greater than or equal to the configured value. The minimum value is 200. The maximum
value is 100000 in PHP &lt; 5.5.6, and 1000000 in later versions.
</para>
</listitem>