3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::getFC_NFKC_Closure(8481)); var_dump(IntlChar::getFC_NFKC_Closure("\u{2121}")); var_dump(IntlChar::getFC_NFKC_Closure("\u{1D2D}"));
based on RigPT
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.1.7, 7.2.0
string(3) "tel" string(3) "tel" string(2) "æ"
Output for 7.1.10
string(3) "tel" string(3) "tel" string(2) "æ"
Process exited with code 137.
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/kDe3C:2 Stack trace: #0 {main} thrown in /in/kDe3C on line 2
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/kDe3C on line 2
Process exited with code 255.