3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(NAN); var_dump(var_export(NAN));
based on lVhU3
Output for 5.3.22 - 7.0.1, 7.0.3 - 7.2.0
float(NAN) NANNULL
Output for 7.0.2
float(NAN) NAN.0NULL