diff --git a/language/types/numeric-strings.xml b/language/types/numeric-strings.xml index ff787af10544..c7dd1a6341bd 100644 --- a/language/types/numeric-strings.xml +++ b/language/types/numeric-strings.xml @@ -64,8 +64,8 @@ var_dump("2E1" == "020"); // true, "2E1" is 2 * (10 ^ 1), or 20 If the string is numeric, resolve to an int if the string is an integer numeric string and fits into the limits of the int type limits (as defined by - PHP_INT_MAX), otherwise resolve to a - float. + PHP_INT_MIN and PHP_INT_MAX), + otherwise resolve to a float. @@ -74,8 +74,8 @@ var_dump("2E1" == "020"); // true, "2E1" is 2 * (10 ^ 1), or 20 is one, resolve to an int if the leading part of the string is an integer numeric string and fits into the limits of the int type limits (as defined by - PHP_INT_MAX), otherwise resolve to a - float. + PHP_INT_MIN and PHP_INT_MAX), + otherwise resolve to a float. Additionally an error of level E_WARNING is raised.