3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_nan('NAN'));
based on UN6RX
Output for 7.0.0 - 7.2.6
Warning: is_nan() expects parameter 1 to be float, string given in /in/stR0i on line 3 NULL
Output for 4.3.0 - 5.6.30, hhvm-3.11.1 - 3.12.14, hhvm-3.15.4 - 3.17.3
Warning: is_nan() expects parameter 1 to be double, string given in /in/stR0i on line 3 NULL
Output for hhvm-3.10.1, hhvm-3.13.2

Process exited with code 137.