Why for php
\'00\' == \'0000\'
expression is true?
Is it explained somewhere in manual?
NOTE:
Sure
== compares values and neglects type
=== compares values and types
here is it:
http://php.net/manual/en/language.operators.comparison.php
*UPDATE:
Read this part in this URL :
http://php.net/manual/en/function.intval.php
Strings will most likely return 0 although this depends on the leftmost characters of the string. The common rules of integer casting apply.