3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::hasBinaryProperty("A", IntlChar::PROPERTY_ALPHABETIC)); var_dump(IntlChar::hasBinaryProperty("A", IntlChar::PROPERTY_CASE_SENSITIVE)); var_dump(IntlChar::hasBinaryProperty("A", IntlChar::PROPERTY_BIDI_MIRRORED)); var_dump(IntlChar::hasBinaryProperty("[", IntlChar::PROPERTY_ALPHABETIC)); var_dump(IntlChar::hasBinaryProperty("[", IntlChar::PROPERTY_CASE_SENSITIVE)); var_dump(IntlChar::hasBinaryProperty("[", IntlChar::PROPERTY_BIDI_MIRRORED));
based on kl6U2
Output for 7.0.0 - 7.2.0
bool(true) bool(true) bool(false) bool(false) bool(false) bool(true)
Output for 5.4.0 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/57vPJ on line 2
Process exited with code 255.