3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(NAN < 0); $x=NAN; var_dump($x < 0);
Output for 5.6.0 - 5.6.38, hhvm-3.18.5 - 3.22.0, 7.0.23 - 7.0.31, 7.1.9 - 7.2.11
bool(false) bool(false)
Output for 7.0.0 - 7.0.22, 7.1.0 - 7.1.8
bool(true) bool(false)