3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(null < "-1"); var_dump("" < "-1"); var_dump("" + 0 < "-1");
Output for 7.1.0
bool(true) bool(true) Warning: A non-numeric value encountered in /in/NXOeS on line 4 bool(false)
Output for 4.3.0 - 7.0.14
bool(true) bool(true) bool(false)