3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $one = "\u{e21c}"; var_dump(bin2hex($one)); var_dump(IntlChar::digit($one));
based on b2a1F
Output for hhvm-3.15.4, 7.0.0 - 7.2.8
string(6) "ee889c" bool(false)
Output for 5.6.0 - 5.6.30
string(16) "5c757b653231637d" Fatal error: Class 'IntlChar' not found in /in/Ke5rG on line 5
Process exited with code 255.