Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 25 of 51) sorted by relevance

123

/PHP-8.3/ext/intl/uchar/
H A Duchar.stub.php3405 public static function charType(int|string $codepoint): ?int {} argument
3408 public static function chr(int|string $codepoint): ?string {} argument
3467 public static function isalnum(int|string $codepoint): ?bool {} argument
3470 public static function isalpha(int|string $codepoint): ?bool {} argument
3473 public static function isbase(int|string $codepoint): ?bool {} argument
3476 public static function isblank(int|string $codepoint): ?bool {} argument
3479 public static function iscntrl(int|string $codepoint): ?bool {} argument
3485 public static function isdigit(int|string $codepoint): ?bool {} argument
3488 public static function isgraph(int|string $codepoint): ?bool {} argument
3512 public static function islower(int|string $codepoint): ?bool {} argument
[all …]
/PHP-8.3/ext/mbstring/tests/
H A Dmb_substitute_character_variation_weak_types.phpt116 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
124 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
126 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
128 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
154 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
156 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
158 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
160 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
162 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
164 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
[all …]
H A Deucjp_ms_encoding.phpt18 foreach ($toUnicodeIrreversible as $char => $codepoint) {
19 if (!isset($fromUnicode[$codepoint]))
20 $fromUnicode[$codepoint] = $char;
24 // same Unicode codepoint. Make sure we use the intended reverse mapping for tests:
H A Dmb_substitute_character_variation_strict_types.phpt118 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
150 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
152 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
154 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
156 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
158 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
160 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dutf8_mobile_encodings.phpt80 if (sscanf($line, "0x%x\t0x%x", $codepoint, $char) == 2) {
81 $codepoint = pack('N', $codepoint);
83 $from[$char] = $codepoint;
84 $to[$codepoint] = $char;
85 } else if (sscanf($line, "0x%x\tBAD", $codepoint) == 1) {
86 $codepoint = pack('N', $codepoint);
87 $invalid[$codepoint] = true;
H A Dbug69079.phpt36 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
38 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
H A Dcp51932_encoding.phpt25 if (sscanf($line, '<U%x> \x%x\x%x', $codepoint, $byte1, $byte2) >= 2) {
31 if (($codepoint >= 0xC0 && $codepoint <= 0xD6) ||
32 ($codepoint >= 0xD8 && $codepoint <= 0xF6) ||
33 ($codepoint >= 0xF8 && $codepoint <= 0xFF))
36 $utf16 = pack('n', $codepoint);
H A Dencoding_tests.inc26 // Read a file with one character and its equivalent Unicode codepoint on each
36 if (sscanf($line, "0x%x\t0x%x", $char, $codepoint) == 2) {
38 if ($codepoint === 0xFFFD) {
41 $codepoint = $utf32 ? pack('N', $codepoint) : pack('n', $codepoint);
63 $from[$char] = $codepoint;
64 $to[$codepoint] = $char;
H A Dcp5022x_encoding.phpt43 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
48 if (isset($fromUnicode[$codepoint])) {
49 $nonInvertible[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
51 $cp932Chars[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
52 $fromUnicode[$codepoint] = $bytes;
59 $codepoint = 0xE000;
65 $codepoint++;
76 if (sscanf($line, "0x%x\t0x%x", $byte, $codepoint) == 2)
77 $jisx0201Chars[chr($byte)] = pack('n', $codepoint);
87 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
[all …]
H A Dmb_substr_count.phpt58 // cached data), and both of those codepoints matched a 1-codepoint needle
62 // Another thing about the old implementation: if a final codepoint was emitted
63 // by a decoder flush function, and that codepoint finished a match with the
H A Dmb_encode_numericentity.phpt33 0, 0, 0, 0, // Only one codepoint, empty mask
34 100, 50, 0, 0xFFFF // 'End' codepoint is before 'start' codepoint
H A Dmb_substitute_character_basic.phpt39 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dmb_substitute_character.phpt45 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dcp950_encoding.phpt16 // Non-reversible mappings (two different CP950 codepoints map to same Unicode codepoint)
26 // CP950 explicitly maps some unused Big5 codepoint ranges to Unicode "Private User Area" codepoints
/PHP-8.3/tests/lang/string/
H A Dunicode_escape_large_codepoint.phpt2 Invalid Unicode escape sequence: Large codepoint
9 Parse error: Invalid UTF-8 codepoint escape sequence: Codepoint too large in %s on line %d
H A Dunicode_escape_empty.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_incomplete.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_whitespace.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign2.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
/PHP-8.3/ext/intl/tests/
H A Dcpbi_getLastCodePoint_basic.phpt16 //first() and last() don't read codepoint and set the last code point var to -1
17 //The pointer is after the last read codepoint if moving forward and
18 //before the last read codepoint is moving backwards
26 //it's a post-increment operation as to the codepoint, i.e., it gives the codepoint
/PHP-8.3/ext/iconv/tests/
H A Dbug74230.phpt8 $high = "\xED\xa1\x92"; // codepoint D852
9 $low = "\xED\xBD\xA2"; // codepoint DF62
/PHP-8.3/ext/intl/normalizer/
H A Dnormalizer_normalize.c307 UChar32 codepoint = -1; in PHP_FUNCTION() local
325 U8_NEXT(input, offset, input_length, codepoint); in PHP_FUNCTION()
332 if ((codepoint < UCHAR_MIN_VALUE) || (codepoint > UCHAR_MAX_VALUE)) { in PHP_FUNCTION()
338 decomposition_length = unorm2_getRawDecomposition(norm, codepoint, decomposition, 32, &status); in PHP_FUNCTION()
/PHP-8.3/ext/tokenizer/tests/
H A Dparse_errors.phpt40 Invalid UTF-8 codepoint escape sequence
48 Invalid UTF-8 codepoint escape sequence: Codepoint too large
/PHP-8.3/Zend/tests/
H A Drequire_parse_exception.phpt50 Invalid UTF-8 codepoint escape sequence on line 2
51 Invalid UTF-8 codepoint escape sequence: Codepoint too large on line 2

Completed in 34 milliseconds

123