3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $nan = NAN; var_dump(0 < NAN); var_dump(0 < $nan); var_dump(0 == NAN); var_dump(0 == $nan); var_dump(NAN == NAN); var_dump($nan == NAN);
based on MbAYJ
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.2.5 - 7.3.0alpha1
bool(false) bool(false) bool(false) bool(false) bool(false) bool(false)
Output for 7.0.0 - 7.1.7
bool(true) bool(false) bool(false) bool(false) bool(false) bool(false)