Searched refs:ord (Results 1 – 25 of 57) sorted by path
123
/php-src/Zend/tests/ |
H A D | bug60350.phpt | 6 if (ord($str) == 27) {
|
H A D | class_constants_005.phpt | 7 define ("A", "." . ord(26) . ".");
|
/php-src/Zend/tests/fibers/ |
H A D | gh10496-001.phpt | 19 \ord(suspend(1));
|
/php-src/Zend/tests/multibyte/ |
H A D | multibyte_encoding_001.phpt | 12 printf("%x:%x", ord($s[0]), ord($s[1]));
|
/php-src/Zend/tests/nullsafe_operator/ |
H A D | 013.phpt | 25 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 D | internal_function_strict_mode.phpt | 9 var_dump(ord(1)); 31 *** Caught ord(): Argument #1 ($character) must be of type string, int given
|
/php-src/ext/date/tests/ |
H A D | bug65184.phpt | 19 printf("%x ", ord($s[$i]));
|
/php-src/ext/ffi/tests/ |
H A D | 010.phpt | 10 FFI::memset($a, ord("a"), FFI::sizeof($a));
|
H A D | 040.phpt | 28 FFI::memset($x, ord("a"), 4); 44 FFI::memset($y[0], ord("b"), 4);
|
/php-src/ext/fileinfo/ |
H A D | create_data_file.php | 19 for ($i = ord(' '); $i < 0x7F; ++$i) { 24 for ($i = ord('0'); $i <= ord('9'); ++$i) {
|
/php-src/ext/gd/tests/ |
H A D | bug79615.phpt | 15 echo decbin(ord(ob_get_clean()[0xA]));
|
/php-src/ext/iconv/tests/ |
H A D | bug69840.phpt | 9 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 D | eucjp2iso2022jp.phpt | 14 printf("%02x", ord($str[$i]));
|
H A D | iconv_substr.phpt | 12 printf("%02x", ord($str[$i]));
|
/php-src/ext/intl/tests/ |
H A D | uconverter_oop_callback_return.phpt | 13 case "\x82": return ord('b'); 27 case 0x00F2: return ord("B");
|
/php-src/ext/intl/uchar/tests/ |
H A D | basic-functionality.phpt | 24 $ncp = IntlChar::ord($cp);
|
/php-src/ext/intl/uchar/ |
H A D | uchar.c | 73 IC_METHOD(ord) { in IC_METHOD() argument
|
H A D | uchar.stub.php | 1570 public static function ord(int|string $character): ?int {} function in IntlChar
|
H A D | uchar_arginfo.h | 242 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 D | bug52981.phpt | 11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
|
H A D | cp5022x_encoding.phpt | 163 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 D | gb18030_2022_encoding.phpt | 244 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 D | gb18030_encoding.phpt | 243 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 D | iso2022jp_encoding.phpt | 88 if (ord($jisx0201) >= 128) { 89 $kana = chr(ord($jisx0201) - 128);
|
H A D | iso2022jp_kddi_encoding.phpt | 131 if (ord($jisx0201) >= 128) { 132 $kana = chr(ord($jisx0201) - 128); 186 $firstByte = ord($invalid[0]);
|
Completed in 88 milliseconds
123