3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print(' TRUE == "wat" : '); var_dump(TRUE == "wat"); print(' "wat" == 0 : '); var_dump("foo" == 0); print(' TRUE == 0 : '); var_dump(TRUE == 0);
Output for 4.3.0 - 7.1.0
TRUE == "wat" : bool(true) "wat" == 0 : bool(true) TRUE == 0 : bool(false)