3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(NAN); var_dump(var_export(NAN, true));
based on 5TqWV
Output for 5.3.22 - 7.0.1, 7.0.3 - 7.2.0
float(NAN) string(3) "NAN"
Output for 7.0.2
float(NAN) string(5) "NAN.0"