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
This commit is contained in:
Richard Quadling 2010-01-13 13:25:31 +00:00
parent c29b3639b7
commit 3729f4b4e8

View file

@ -1096,7 +1096,8 @@ Expression: 0 = -4 << 62
</tgroup>
</table>
<para>
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
<link linkend="language.types.string.conversion">converted to a number</link>.
If you compare two numerical strings, they are compared as integers. These
rules also apply to the