3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $characters = ["A", " ", "\u{2603}"]; foreach ($characters as $character) { var_dump(IntlChar::ord($character)); } ?>
based on GWBOL
Output for 7.0.0 - 7.2.0
int(65) int(32) int(9731)
Output for 5.4.0 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/ehjAm on line 4
Process exited with code 255.