I had a problem with checking falsy conditions and don't understand how 'false' works.
I tested the code above,
echo (0 == false); //->true
echo ("0" == false); //->true
echo ("0" == 0); //->true
echo ("000000000000" == 0); //->true
echo ("000000000000" == false); //->false
And don't understand why the last result is false instead of true.
Thanks for your explanation.