mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
c29b3639b7
commit
3729f4b4e8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue