3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0 == ''); var_dump('0' == ''); var_dump('0x46547685432146541' == 0);
based on P1rQJ
Output for 7.0.0 - 7.2.0
bool(true) bool(false) bool(true)
Output for 5.3.20 - 5.6.28
bool(true) bool(false) bool(false)