3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = new ReflectionClass(IntlChar::CLASS); foreach($x->getMethods() as $method) echo $method . "\n";
based on iCJQd
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.2.0
Method [ <internal:intl> static public method chr ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method ord ] { - Parameters [1] { Parameter #0 [ <required> $character ] } } Method [ <internal:intl> static public method hasBinaryProperty ] { - Parameters [2] { Parameter #0 [ <required> $codepoint ] Parameter #1 [ <required> $property ] } } Method [ <internal:intl> static public method isUAlphabetic ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isULowercase ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isUUppercase ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isUWhiteSpace ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method getIntPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $codepoint ] Parameter #1 [ <required> $property ] } } Method [ <internal:intl> static public method getIntPropertyMinValue ] { - Parameters [1] { Parameter #0 [ <required> $property ] } } Method [ <internal:intl> static public method getIntPropertyMaxValue ] { - Parameters [1] { Parameter #0 [ <required> $property ] } } Method [ <internal:intl> static public method getNumericValue ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method islower ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isupper ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method istitle ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isdigit ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isalpha ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isalnum ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isxdigit ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method ispunct ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isgraph ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isblank ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isdefined ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isspace ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isJavaSpaceChar ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isWhitespace ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method iscntrl ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isISOControl ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isprint ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isbase ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method charDirection ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isMirrored ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method charMirror ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method getBidiPairedBracket ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method charType ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method enumCharTypes ] { - Parameters [1] { Parameter #0 [ <optional> $callback ] } } Method [ <internal:intl> static public method getCombiningClass ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method charDigitValue ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method getBlockCode ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method charName ] { - Parameters [2] { Parameter #0 [ <required> $codepoint ] Parameter #1 [ <optional> $nameChoice ] } } Method [ <internal:intl> static public method charFromName ] { - Parameters [2] { Parameter #0 [ <required> $characterName ] Parameter #1 [ <optional> $nameChoice ] } } Method [ <internal:intl> static public method enumCharNames ] { - Parameters [4] { Parameter #0 [ <required> $start ] Parameter #1 [ <required> $limit ] Parameter #2 [ <required> $callback ] Parameter #3 [ <optional> $nameChoice ] } } Method [ <internal:intl> static public method getPropertyName ] { - Parameters [2] { Parameter #0 [ <required> $property ] Parameter #1 [ <optional> $nameChoice ] } } Method [ <internal:intl> static public method getPropertyEnum ] { - Parameters [1] { Parameter #0 [ <required> $alias ] } } Method [ <internal:intl> static public method getPropertyValueName ] { - Parameters [3] { Parameter #0 [ <required> $property ] Parameter #1 [ <required> $value ] Parameter #2 [ <optional> $nameChoice ] } } Method [ <internal:intl> static public method getPropertyValueEnum ] { - Parameters [2] { Parameter #0 [ <required> $property ] Parameter #1 [ <required> $name ] } } Method [ <internal:intl> static public method isIDStart ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isIDPart ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isIDIgnorable ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isJavaIDStart ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method isJavaIDPart ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method tolower ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method toupper ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method totitle ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method foldCase ] { - Parameters [2] { Parameter #0 [ <required> $codepoint ] Parameter #1 [ <optional> $options ] } } Method [ <internal:intl> static public method digit ] { - Parameters [2] { Parameter #0 [ <required> $codepoint ] Parameter #1 [ <optional> $radix ] } } Method [ <internal:intl> static public method forDigit ] { - Parameters [2] { Parameter #0 [ <required> $digit ] Parameter #1 [ <optional> $radix ] } } Method [ <internal:intl> static public method charAge ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } } Method [ <internal:intl> static public method getUnicodeVersion ] { - Parameters [0] { } } Method [ <internal:intl> static public method getFC_NFKC_Closure ] { - Parameters [1] { Parameter #0 [ <required> $codepoint ] } }
Output for 7.0.5
Fatal error: Uncaught ReflectionException: Class IntlChar does not exist in /in/Hk6fO:3 Stack trace: #0 /in/Hk6fO(3): ReflectionClass->__construct('IntlChar') #1 {main} thrown in /in/Hk6fO on line 3
Process exited with code 255.
Output for 5.5.24 - 5.6.28
Fatal error: Uncaught exception 'ReflectionException' with message 'Class IntlChar does not exist' in /in/Hk6fO:3 Stack trace: #0 /in/Hk6fO(3): ReflectionClass->__construct('IntlChar') #1 {main} thrown in /in/Hk6fO on line 3
Process exited with code 255.
Output for 5.4.9 - 5.4.45
Parse error: syntax error, unexpected 'CLASS' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/Hk6fO on line 3
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /in/Hk6fO on line 3
Process exited with code 255.