Lines Matching refs:char
36 if (sscanf($line, "0x%x\t0x%x", $char, $codepoint) == 2) {
42 if ($char == PHP_INT_MAX) {
45 $char = "";
49 $char .= chr(hexdec($substr));
54 if ($char <= 0xFF)
55 $char = chr($char); // hex codes must not have leading zero bytes
56 else if ($char <= 0xFFFF)
57 $char = pack('n', $char);
58 else if ($char <= 0xFFFFFF)
59 $char = chr($char >> 16) . pack('n', $char & 0xFFFF);
61 $char = pack('N', $char);
63 $from[$char] = $codepoint;
64 $to[$codepoint] = $char;
215 foreach ($valid as $char => $unicode) {
216 for ($len = 1; $len < strlen($char); $len++)
217 $prefixes[substr($char, 0, $len)] = true;