3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(NAN); var_dump(1.0); var_dump(INF); var_export(NAN); var_export(1.0); var_export(INF);
based on mGrv5
Output for 7.0.3 - 7.2.0
float(NAN) float(1) float(INF) NAN1.0INF
Output for 7.0.2
float(NAN) float(1) float(INF) NAN.01.0INF.0
Output for 5.3.21 - 7.0.1
float(NAN) float(1) float(INF) NAN1INF