3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A {} var_dump(is_nan(new A()));
based on Rhoqe
Output for 7.0.0 - 7.1.0
Warning: is_nan() expects parameter 1 to be float, object given in /in/u0A9P on line 4 NULL
Output for 4.3.0 - 5.6.28
Warning: is_nan() expects parameter 1 to be double, object given in /in/u0A9P on line 4 NULL