Home
last modified time | relevance | path

Searched refs:ord (Results 26 – 50 of 57) sorted by relevance

123

/php-src/Zend/tests/nullsafe_operator/
H A D013.phpt25 dump_error(fn() => ord($foo?->foo()));
55 Deprecated: ord(): Passing null to parameter #1 ($character) of type string is deprecated in %s on …
/php-src/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt6 function so($a,$b) { return ord($a) - ord($b); }
H A Dstrncasecmp_variation6.phpt15 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivalent ASCII value for the character in binar…
24 $str2 = decbin( ord( chr(256) ));
H A Dget_html_translation_table_basic5.phpt1184 [⩝] => ⩝
/php-src/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc103 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
105 $checksum = 256; // 8 * ord(' ');
H A Dcorrupt_tarmaker.php.inc110 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
112 $checksum = 256; // 8 * ord(' ');
H A Dmake.dangerous.tar.php.inc104 function _pear2tarchecksum($a, $b) {return $a + ord($b);}
106 $checksum = 256; // 8 * ord(' ');
/php-src/ext/iconv/tests/
H A Diconv_substr.phpt12 printf("%02x", ord($str[$i]));
/php-src/ext/sodium/tests/
H A Dphp_password_hash_argon2i.phpt35 $password[0] = chr(ord($password[0]) ^ 1);
H A Dphp_password_hash_argon2id.phpt35 $password[0] = chr(ord($password[0]) ^ 1);
H A Dphp_password_verify.phpt44 $password[0] = chr(ord($password[0]) ^ 1);
/php-src/ext/mbstring/tests/
H A Dgb18030_encoding.phpt243 return ((ord($gb) < 0x81 || ord($gb) > 0x84) && (ord($gb) < 0x90 || ord($gb) > 0xE3)) ||
244 (strlen($gb) > 1 && (ord($gb[1]) < 0x30 || ord($gb[1]) > 0x39));
H A Diso2022jp_ms_encoding.phpt115 if (ord($jisx0201) >= 128) {
116 $kana = chr(ord($jisx0201) - 128);
162 $firstByte = ord($invalid[0]);
187 $firstByte = ord(substr($invalid, 0, 1));
H A Dgb18030_2022_encoding.phpt244 return ((ord($gb) < 0x81 || ord($gb) > 0x84) && (ord($gb) < 0x90 || ord($gb) > 0xE3)) ||
245 (strlen($gb) > 1 && (ord($gb[1]) < 0x30 || ord($gb[1]) > 0x39));
H A Dutf_encodings.phpt979 foreach (range(ord('A'), ord('Z')) as $byte)
981 foreach (range(ord('a'), ord('z')) as $byte)
983 foreach (range(ord('0'), ord('9')) as $byte)
1005 if ($i >= ord('A') && $i <= ord('Z'))
1007 if ($i >= ord('a') && $i <= ord('z'))
1009 if ($i >= ord('0') && $i <= ord('9'))
1099 $corrupted = substr($encoded, 0, 2) . chr(ord($encoded[2]) + 1);
H A Diso2022jp_kddi_encoding.phpt131 if (ord($jisx0201) >= 128) {
132 $kana = chr(ord($jisx0201) - 128);
186 $firstByte = ord($invalid[0]);
H A Diso2022jp_encoding.phpt88 if (ord($jisx0201) >= 128) {
89 $kana = chr(ord($jisx0201) - 128);
H A Dcp5022x_encoding.phpt163 if (ord($jisx0201) >= 128) { /* Kana */
164 $kana = chr(ord($jisx0201) - 128);
171 …convertValidString($utf16BE, "\x0E" . chr(ord($jisx0201) - 0x80) . "\x0F", 'UTF-16BE', 'CP50222', …
H A Dsjis_mobile_encodings.phpt320 for ($i = ord('0'); $i <= ord('9'); $i++) {
/php-src/ext/opcache/tests/jit/
H A Dbug81249.phpt53 $byte = ord($byte);
/php-src/win32/build/
H A Dmkdist.php188 $checksum += ord($hdr_data[$i]);
192 $checksum += ord($hdr_data[$i]);
/php-src/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt24 $ncp = IntlChar::ord($cp);
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php728 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
/php-src/ext/intl/uchar/
H A Duchar.c73 IC_METHOD(ord) { in IC_METHOD() argument
H A Duchar.stub.php1570 public static function ord(int|string $character): ?int {} function in IntlChar

Completed in 47 milliseconds

123