Let’s go with a trivia.
What is the output of
var_dump((bool) "0"); var_dump((bool) "toto"); var_dump((bool) ("0" == "toto"));
Let’s go with a trivia.
What is the output of
var_dump((bool) "0"); var_dump((bool) "toto"); var_dump((bool) ("0" == "toto"));