Home
last modified time | relevance | path

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

/php-src/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"));
H A Dgh15087.phpt2 GH-15087 (IntlChar::foldCase()'s $option is not optional)
7 var_dump(IntlChar::foldCase('I'));
/php-src/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-src/Zend/tests/
H A Dbug78770.phpt10 IntlChar::enumCharTypes([$this, 'privateMethod']);
11 IntlChar::enumCharTypes('self::privateMethod');
/php-src/ext/intl/uchar/
H A Duchar_arginfo.h182 ZEND_METHOD(IntlChar, charAge);
189 ZEND_METHOD(IntlChar, chr);
190 ZEND_METHOD(IntlChar, digit);
208 ZEND_METHOD(IntlChar, isalnum);
209 ZEND_METHOD(IntlChar, isalpha);
210 ZEND_METHOD(IntlChar, isbase);
211 ZEND_METHOD(IntlChar, isblank);
212 ZEND_METHOD(IntlChar, iscntrl);
214 ZEND_METHOD(IntlChar, isdigit);
215 ZEND_METHOD(IntlChar, isgraph);
[all …]
H A Duchar.stub.php5 class IntlChar class
1401 …public static function charFromName(string $name, int $type = IntlChar::UNICODE_CHAR_NAME): ?int {}
1407 …public static function charName(int|string $codepoint, int $type = IntlChar::UNICODE_CHAR_NAME): ?…
1419 …mes(int|string $start, int|string $end, callable $callback, int $type = IntlChar::UNICODE_CHAR_NAM…
1425 …public static function foldCase(int|string $codepoint, int $options = IntlChar::FOLD_CASE_DEFAULT)…
1458 …public static function getPropertyName(int $property, int $type = IntlChar::LONG_PROPERTY_NAME): s…
1464 …public static function getPropertyValueName(int $property, int $value, int $type = IntlChar::LONG_…
H A Duchar.c10 #define IC_METHOD(mname) PHP_METHOD(IntlChar, mname)

Completed in 46 milliseconds