3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(true == "ASDF"); var_dump("ASDF" == 0); var_dump(true == 0);
Output for 4.3.0 - 7.3.1
bool(true) bool(true) bool(false)