Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 57) sorted by path

123

/php-src/Zend/tests/
H A Dbug60350.phpt6 if (ord($str) == 27) {
H A Dclass_constants_005.phpt7 define ("A", "." . ord(26) . ".");
/php-src/Zend/tests/fibers/
H A Dgh10496-001.phpt19 \ord(suspend(1));
/php-src/Zend/tests/multibyte/
H A Dmultibyte_encoding_001.phpt12 printf("%x:%x", ord($s[0]), ord($s[1]));
/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/Zend/tests/type_declarations/
H A Dinternal_function_strict_mode.phpt9 var_dump(ord(1));
31 *** Caught ord(): Argument #1 ($character) must be of type string, int given
/php-src/ext/date/tests/
H A Dbug65184.phpt19 printf("%x ", ord($s[$i]));
/php-src/ext/ffi/tests/
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
H A D040.phpt28 FFI::memset($x, ord("a"), 4);
44 FFI::memset($y[0], ord("b"), 4);
/php-src/ext/fileinfo/
H A Dcreate_data_file.php19 for ($i = ord(' '); $i < 0x7F; ++$i) {
24 for ($i = ord('0'); $i <= ord('9'); ++$i) {
/php-src/ext/gd/tests/
H A Dbug79615.phpt15 echo decbin(ord(ob_get_clean()[0xA]));
/php-src/ext/iconv/tests/
H A Dbug69840.phpt9 var_dump(ord($str[0]));
10 var_dump(ord($str[1]));
13 var_dump(ord($str[0]));
14 var_dump(ord($str[1]));
H A Deucjp2iso2022jp.phpt14 printf("%02x", ord($str[$i]));
H A Diconv_substr.phpt12 printf("%02x", ord($str[$i]));
/php-src/ext/intl/tests/
H A Duconverter_oop_callback_return.phpt13 case "\x82": return ord('b');
27 case 0x00F2: return ord("B");
/php-src/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt24 $ncp = IntlChar::ord($cp);
/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
H A Duchar_arginfo.h242 ZEND_METHOD(IntlChar, ord);
305 ZEND_ME(IntlChar, ord, arginfo_class_IntlChar_ord, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
/php-src/ext/mbstring/tests/
H A Dbug52981.phpt11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
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 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 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_encoding.phpt88 if (ord($jisx0201) >= 128) {
89 $kana = chr(ord($jisx0201) - 128);
H A Diso2022jp_kddi_encoding.phpt131 if (ord($jisx0201) >= 128) {
132 $kana = chr(ord($jisx0201) - 128);
186 $firstByte = ord($invalid[0]);

Completed in 88 milliseconds

123