3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "0 != 'string' -> "; var_dump(0 != 'string'); echo "0 != 'string' -> "; var_dump('0' != 'string');
based on oHdNZ
Output for 4.3.0 - 7.1.0
0 != 'string' -> bool(false) 0 != 'string' -> bool(true)