bool(true)
bool(true)
Fatal error: Uncaught TypeError: is_nan(): Argument #1 ($num) must be of type float, string given in /in/pchku:10
Stack trace:
#0 /in/pchku(10): is_nan('asdf')
#1 /in/pchku(14): b('asdf')
#2 /in/pchku(18): meh('asdf')
#3 {main}
thrown in /in/pchku on line 10
Process exited with code 255.
bool(true)
bool(true)
Warning: is_nan() expects parameter 1 to be double, string given in /in/pchku on line 10
bool(true)
bool(true)
Output for 4.3.0 - 4.3.5
Notice: Use of undefined constant NAN - assumed 'NAN' in /in/pchku on line 17
bool(true)
Warning: is_nan() expects parameter 1 to be double, string given in /in/pchku on line 10
bool(false)
Warning: is_nan() expects parameter 1 to be double, string given in /in/pchku on line 10
bool(true)
bool(true)