3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_nan('1e999'));
based on X3kIS
Output for 5.2.1 - 7.2.0
bool(false)
Output for 5.1.0 - 5.2.0
Notice: A non well formed numeric value encountered in /in/MURse on line 3 bool(false)
Output for 4.3.0 - 5.0.5
Warning: is_nan() expects parameter 1 to be double, string given in /in/MURse on line 3 NULL