3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i=60; $i< 99999; $i++) { $x = IntlChar::getNumericValue($i); if ($x >= 0) { var_dump($i, $x); break; } }
based on 6UfWk
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
int(178) float(2)
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/KEPs8:3 Stack trace: #0 {main} thrown in /in/KEPs8 on line 3
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/KEPs8 on line 3
Process exited with code 255.