3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(IntlChar::getIntPropertyMinValue(IntlChar::PROPERTY_BIDI_CLASS)); var_dump(IntlChar::getIntPropertyMinValue(IntlChar::PROPERTY_SCRIPT)); var_dump(IntlChar::getIntPropertyMinValue(IntlChar::PROPERTY_IDEOGRAPHIC)); var_dump(IntlChar::getIntPropertyMinValue(999999999)); // Some made-up value var_dump(IntlChar::getIntPropertyMaxValue(IntlChar::PROPERTY_BIDI_CLASS)); var_dump(IntlChar::getIntPropertyMaxValue(IntlChar::PROPERTY_SCRIPT)); var_dump(IntlChar::getIntPropertyMaxValue(IntlChar::PROPERTY_IDEOGRAPHIC)); var_dump(IntlChar::getIntPropertyMaxValue(999999999)); // Some made-up value
based on jrO8n
Output for 7.2.0
int(0) int(0) int(0) int(0) int(22) int(177) int(1) int(-1)
Output for 7.0.20 - 7.1.10
int(0) int(0) int(0) int(0) int(22) int(174) int(1) int(-1)
Output for 7.0.0 - 7.0.4, 7.0.6
int(0) int(0) int(0) int(0) int(22) int(166) int(1) int(-1)
Output for 7.0.5
Fatal error: Uncaught Error: Class 'IntlChar' not found in /in/4voeb:2 Stack trace: #0 {main} thrown in /in/4voeb on line 2
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Class 'IntlChar' not found in /in/4voeb on line 2
Process exited with code 255.