Illogical string comparison in PHP

Viewed 76

I got lost.. if someone could explain to me why the following query:

var_dump("0000F607"=="00000000"); is returning: bool(false)

but fallowing query: var_dump("0000E607"=="00000000"); return bool(true)

I know that == only compares variables (without checking type of variable), but here I compare 2 strings..

0 Answers
Related