3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = IntlChar::getNumericValue("x"); var_dump($value); var_dump($value === IntlChar::NO_NUMERIC_VALUE);
based on SBQ0e
Output for 7.0.6 - 7.2.0
float(-123456789) bool(true)
Output for 7.0.0 - 7.0.5
float(-123456789) Fatal error: Uncaught Error: Undefined class constant 'NO_NUMERIC_VALUE' in /in/koeIm:4 Stack trace: #0 {main} thrown in /in/koeIm on line 4
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/koeIm on line 2
Process exited with code 255.