3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $results = []; for ($i = 0; $i <= 99999; $i++) { $x = IntlChar::getFC_NFKC_Closure($i); $results[$x] = $i; } var_dump($results); ?>
based on fF1jZ
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
array(98) { [""]=> int(99999) [" ι"]=> int(890) ["υ"]=> int(978) ["ύ"]=> int(979) ["ϋ"]=> int(980) ["σ"]=> int(1017) ["a"]=> int(7468) ["æ"]=> int(7469) ["b"]=> int(8492) ["d"]=> int(8517) ["e"]=> int(8496) ["ǝ"]=> int(7474) ["g"]=> int(7475) ["h"]=> int(8461) ["i"]=> int(8465) ["j"]=> int(7478) ["k"]=> int(7479) ["l"]=> int(8466) ["m"]=> int(8499) ["n"]=> int(8469) ["o"]=> int(7484) ["ȣ"]=> int(7485) ["p"]=> int(8473) ["r"]=> int(8477) ["t"]=> int(7488) ["u"]=> int(7489) ["w"]=> int(7490) ["rs"]=> int(8360) ["c"]=> int(8493) ["°c"]=> int(8451) ["ɛ"]=> int(8455) ["°f"]=> int(8457) ["no"]=> int(8470) ["q"]=> int(8474) ["sm"]=> int(8480) ["tel"]=> int(8481) ["tm"]=> int(8482) ["z"]=> int(8488) ["f"]=> int(8497) ["fax"]=> int(8507) ["γ"]=> int(8510) ["π"]=> int(8511) ["v"]=> int(11389) ["pte"]=> int(12880) ["hg"]=> int(13004) ["ev"]=> int(13006) ["ltd"]=> int(13007) ["hpa"]=> int(13169) ["au"]=> int(13171) ["ov"]=> int(13173) ["iu"]=> int(13178) ["pa"]=> int(13225) ["na"]=> int(13185) ["μa"]=> int(13186) ["ma"]=> int(13187) ["ka"]=> int(13188) ["kb"]=> int(13189) ["mb"]=> int(13190) ["gb"]=> int(13191) ["pf"]=> int(13194) ["nf"]=> int(13195) ["μf"]=> int(13196) ["hz"]=> int(13200) ["khz"]=> int(13201) ["mhz"]=> int(13202) ["ghz"]=> int(13203) ["thz"]=> int(13204) ["kpa"]=> int(13226) ["mpa"]=> int(13227) ["gpa"]=> int(13228) ["pv"]=> int(13236) ["nv"]=> int(13237) ["μv"]=> int(13238) ["mv"]=> int(13241) ["kv"]=> int(13240) ["pw"]=> int(13242) ["nw"]=> int(13243) ["μw"]=> int(13244) ["mw"]=> int(13247) ["kw"]=> int(13246) ["kω"]=> int(13248) ["mω"]=> int(13249) ["bq"]=> int(13251) ["c∕kg"]=> int(13254) ["co."]=> int(13255) ["db"]=> int(13256) ["gy"]=> int(13257) ["hp"]=> int(13259) ["kk"]=> int(13261) ["km"]=> int(13262) ["ph"]=> int(13271) ["ppm"]=> int(13273) ["pr"]=> int(13274) ["sv"]=> int(13276) ["wb"]=> int(13277) ["v∕m"]=> int(13278) ["a∕m"]=> int(13279) ["ħ"]=> int(43000) }
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/L7qdX:4 Stack trace: #0 {main} thrown in /in/L7qdX on line 4
Process exited with code 255.
Output for 5.4.2 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/L7qdX on line 4
Process exited with code 255.
Output for 5.3.17 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/L7qdX on line 2
Process exited with code 255.