From 3729f4b4e8d7c426afd9402f51ca183dabee4294 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Wed, 13 Jan 2010 13:25:31 +0000 Subject: [PATCH] Fix#50738 - Type juggling is excluded from identical and not identical comparisons. "If you compare an integer with a string, excluding the identical (===) and not identical (!===) operators, the string is ..." git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293501 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/language/operators.xml b/language/operators.xml index 27c250a377..3153dd20ae 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1096,7 +1096,8 @@ Expression: 0 = -4 << 62 - If you compare an integer with a string, the string is + If you compare an integer with a string, excluding the identical (===) and + not identical (!===) operators, the string is converted to a number. If you compare two numerical strings, they are compared as integers. These rules also apply to the