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.
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
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)