From 2ed5acf774375acc69832620416a0ba50988357e Mon Sep 17 00:00:00 2001 From: Jean-Sebastien Hedde Date: Thu, 31 Dec 2015 12:50:01 +0000 Subject: [PATCH] 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 --- reference/opcache/ini.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index 79a71a5b78..d68e0ea4f4 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -249,7 +249,7 @@ table. The actual value used will be the first number in the set of prime numbers { 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987 } - 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 < 5.5.6, and 1000000 in later versions.