3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::getUnicodeVersion());
based on 3k7Cv
Output for 7.2.0
array(4) { [0]=> int(10) [1]=> int(0) [2]=> int(0) [3]=> int(0) }
Output for 7.0.20 - 7.1.10
array(4) { [0]=> int(9) [1]=> int(0) [2]=> int(0) [3]=> int(0) }
Output for 7.0.0 - 7.0.4, 7.0.6
array(4) { [0]=> int(8) [1]=> int(0) [2]=> int(0) [3]=> int(0) }
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/ppdDe:2 Stack trace: #0 {main} thrown in /in/ppdDe on line 2
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/ppdDe on line 2
Process exited with code 255.