3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::forDigit(0)); var_dump(IntlChar::forDigit(3)); var_dump(IntlChar::forDigit(3, 10)); var_dump(IntlChar::forDigit(10)); var_dump(IntlChar::forDigit(10, 16)); ?>
Output for 7.0.0 - 7.2.0
int(48) int(51) int(51) int(0) int(97)
Output for 5.4.0 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/sOcGh on line 2
Process exited with code 255.