Home
last modified time | relevance | path

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

123

/PHP-8.1/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-8.1/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 [⩝] => ⩝
H A Dhtml_entity_decode_html5.phpt1580 "⩝",
3714 ⩝ => ⩝ e2a99d
/PHP-8.1/ext/mbstring/tests/
H A Dutf_encodings.phpt924 foreach (range(ord('A'), ord('Z')) as $byte)
926 foreach (range(ord('a'), ord('z')) as $byte)
928 foreach (range(ord('0'), ord('9')) as $byte)
950 if ($i >= ord('A') && $i <= ord('Z'))
952 if ($i >= ord('a') && $i <= ord('z'))
954 if ($i >= ord('0') && $i <= ord('9'))
1012 $corrupted = substr($encoded, 0, 2) . chr(ord($encoded[2]) + 1);
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 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', …
/PHP-8.1/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-8.1/ext/sodium/tests/
H A Dphp_password_hash_argon2i.phpt35 $password[0] = chr(ord($password[0]) ^ 1);
H A Dphp_password_hash_argon2id.phpt34 $password[0] = chr(ord($password[0]) ^ 1);
H A Dphp_password_verify.phpt43 $password[0] = chr(ord($password[0]) ^ 1);
/PHP-8.1/ext/iconv/tests/
H A Diconv_substr.phpt12 printf("%02x", ord($str[$i]));
/PHP-8.1/ext/opcache/tests/jit/
H A Dbug81249.phpt54 $byte = ord($byte);
/PHP-8.1/win32/build/
H A Dmkdist.php188 $checksum += ord($hdr_data[$i]);
192 $checksum += ord($hdr_data[$i]);
/PHP-8.1/ext/intl/uchar/
H A Duchar.stub.php175 public static function ord(int|string $character): ?int {} function in IntlChar
H A Duchar_arginfo.h243 ZEND_METHOD(IntlChar, ord);
307 ZEND_ME(IntlChar, ord, arginfo_class_IntlChar_ord, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
H A Duchar.c72 IC_METHOD(ord) { in IC_METHOD() argument
/PHP-8.1/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt24 $ncp = IntlChar::ord($cp);
/PHP-8.1/ext/standard/html_tables/
H A Dhtml_table_gen.php728 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))

Completed in 62 milliseconds

123