3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php IntlChar::enumCharNames(0x2600, 0x2610, function($codepoint, $nameChoice, $name) { printf("U+%04x %s\n", $codepoint, $name); }); ?>
based on idrVu
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
U+2600 BLACK SUN WITH RAYS U+2601 CLOUD U+2602 UMBRELLA U+2603 SNOWMAN U+2604 COMET U+2605 BLACK STAR U+2606 WHITE STAR U+2607 LIGHTNING U+2608 THUNDERSTORM U+2609 SUN U+260a ASCENDING NODE U+260b DESCENDING NODE U+260c CONJUNCTION U+260d OPPOSITION U+260e BLACK TELEPHONE U+260f WHITE TELEPHONE
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/qi9Wa:2 Stack trace: #0 {main} thrown in /in/qi9Wa on line 2
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/qi9Wa on line 2
Process exited with code 255.