3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(NAN, NAN < NAN, NAN > NAN, NAN > 0.0, NAN < 0.0, NAN == NAN /* the only comparison that seems correct */); echo "\n----\n\n"; var_dump(INF, INF < INF, INF > INF, INF == INF); /?php>
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '/' in /in/cCkvV on line 7
Process exited with code 255.