3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::getIntPropertyValue("A", IntlChar::PROPERTY_ALPHABETIC) === 1); var_dump(IntlChar::getIntPropertyValue("[", IntlChar::PROPERTY_BIDI_MIRRORING_GLYPH)); var_dump(IntlChar::getIntPropertyValue("[", IntlChar::PROPERTY_BIDI_MIRRORING_GLYPH) === IntlChar::ord("]"));
based on bGOv4
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
bool(true) int(0) bool(false)
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/aq27L:2 Stack trace: #0 {main} thrown in /in/aq27L on line 2
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/aq27L on line 2
Process exited with code 255.