Home
last modified time | relevance | path

Searched refs:IntlChar (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/intl/uchar/
H A Duchar_arginfo.h187 ZEND_METHOD(IntlChar, charAge);
194 ZEND_METHOD(IntlChar, chr);
195 ZEND_METHOD(IntlChar, digit);
215 ZEND_METHOD(IntlChar, isalnum);
216 ZEND_METHOD(IntlChar, isalpha);
217 ZEND_METHOD(IntlChar, isbase);
218 ZEND_METHOD(IntlChar, isblank);
219 ZEND_METHOD(IntlChar, iscntrl);
221 ZEND_METHOD(IntlChar, isdigit);
222 ZEND_METHOD(IntlChar, isgraph);
[all …]
H A Duchar.stub.php5 class IntlChar class
20 …public static function charFromName(string $name, int $type = IntlChar::UNICODE_CHAR_NAME): ?int {}
26 …public static function charName(int|string $codepoint, int $type = IntlChar::UNICODE_CHAR_NAME): ?…
38 …mes(int|string $start, int|string $end, callable $callback, int $type = IntlChar::UNICODE_CHAR_NAM…
44 …public static function foldCase(int|string $codepoint, int $options = IntlChar::FOLD_CASE_DEFAULT)…
79 …public static function getPropertyName(int $property, int $type = IntlChar::LONG_PROPERTY_NAME): s…
85 …public static function getPropertyValueName(int $property, int $value, int $type = IntlChar::LONG_…
H A Duchar.c9 #define IC_METHOD(mname) PHP_METHOD(IntlChar, mname)
/PHP-8.1/ext/intl/uchar/tests/
H A Dbug70454.phpt2 Bug #70454 (IntlChar::forDigit second parameter should be optional)
7 var_dump(IntlChar::forDigit(0));
8 var_dump(IntlChar::forDigit(3));
9 var_dump(IntlChar::forDigit(3, 10));
10 var_dump(IntlChar::forDigit(10));
11 var_dump(IntlChar::forDigit(10, 16));
H A Dbug70453.phpt2 Bug #70453 (IntlChar::foldCase() incorrect arguments and missing constants)
7 $method = new ReflectionMethod('IntlChar', 'foldCase');
10 var_dump(IntlChar::foldCase('I', IntlChar::FOLD_CASE_DEFAULT));
11 var_dump(IntlChar::foldCase('I', IntlChar::FOLD_CASE_EXCLUDE_SPECIAL_I));
H A Dbug70455.phpt2 Bug #70455 Missing constant: IntlChar::NO_NUMERIC_VALUE
7 $value = IntlChar::getNumericValue("x");
9 var_dump($value === IntlChar::NO_NUMERIC_VALUE);
H A Dbasic-functionality.phpt2 IntlChar basic functionality
10 IntlChar::PROPERTY_ALPHABETIC,
24 $ncp = IntlChar::ord($cp);
29 IntlChar::getPropertyName($prop),
30 IntlChar::hasBinaryProperty($cp, $prop) ? "true" : "false"
35 var_dump(IntlChar::$method($cp));
37 echo " charAge(): ", implode('.', IntlChar::charAge($cp)), "\n";
41 printf("Codepoint range: %04x-%04x\n", IntlChar::CODEPOINT_MIN, IntlChar::CODEPOINT_MAX);
47 IntlChar::enumCharNames(0x2600, 0x2610, function($cp, $nc, $name) {
51 var_dump(IntlChar::charFromName("RECYCLING SYMBOL FOR TYPE-1 PLASTICS"));
/PHP-8.1/ext/intl/tests/
H A Dbug70452.phpt2 Bug #70452 string IntlChar::charName() can sometimes return bool(false)
8 var_dump(IntlChar::charName("A"));
10 var_dump(IntlChar::charName("A", IntlChar::UNICODE_CHAR_NAME));
13 var_dump(IntlChar::charName("A", IntlChar::UNICODE_10_CHAR_NAME));
15 var_dump(IntlChar::charName("A", 12345));
H A Dbug70451.phpt2 Bug #70451 IntlChar::charFromName() not consistent with C library or HHVM
7 var_dump(IntlChar::charFromName("RECYCLING SYMBOL FOR TYPE-1 PLASTICS"));
8 var_dump(IntlChar::charFromName("sdfasdfasdfasdf"));
/PHP-8.1/Zend/tests/
H A Dbug78770.phpt10 IntlChar::enumCharTypes([$this, 'privateMethod']);
11 IntlChar::enumCharTypes('self::privateMethod');

Completed in 14 milliseconds