3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function a($a){} a(1,2); var_dump(IntlChar::forDigit(3, 10, 1));
based on 2ngnP
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
Warning: IntlChar::forDigit() expects at most 2 parameters, 3 given in /in/IQv2F on line 6 NULL
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/IQv2F:6 Stack trace: #0 {main} thrown in /in/IQv2F on line 6
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/IQv2F on line 6
Process exited with code 255.