/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2480 function ord(string $character): int {}
|
H A D | basic_functions_arginfo.h | 2577 ZEND_FUNCTION(ord);
|
H A D | string.c | 2690 PHP_FUNCTION(ord) argument
|
/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/intl/uchar/ |
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)
|
H A D | uchar.stub.php | 1570 public static function ord(int|string $character): ?int {} function in IntlChar
|
H A D | uchar.c | 73 IC_METHOD(ord) { in IC_METHOD() argument
|
/php-src/ext/opcache/tests/jit/ |
H A D | shift_right_003.phpt | 20 var_dump(strlen($s), ord($s[0]), ord($s[1]));
|
H A D | bug81226.phpt | 21 $characterReferenceCode += ord($hex[$j]) - 0x0030;
|
H A D | bug81249.phpt | 53 $byte = ord($byte);
|
/php-src/ext/mbstring/tests/ |
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 | utf_encodings.phpt | 979 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 D | iso2022jp_encoding.phpt | 88 if (ord($jisx0201) >= 128) { 89 $kana = chr(ord($jisx0201) - 128);
|
/php-src/sapi/fpm/tests/ |
H A D | fcgi.inc | 622 $nlen = ord($data[$p++]); 627 $nlen |= (ord($data[$p++])); 629 $vlen = ord($data[$p++]); 634 $vlen |= (ord($data[$p++])); 652 $ret['version'] = ord($data[0]); 653 $ret['type'] = ord($data[1]); 654 $ret['requestId'] = (ord($data[2]) << 8) + ord($data[3]); 655 $ret['contentLength'] = (ord($data[4]) << 8) + ord($data[5]); 656 $ret['paddingLength'] = ord($data[6]); 657 $ret['reserved'] = ord($data[7]); [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | explode.phpt | 45 var_dump(explode("==", str_repeat("-=".ord(0)."=-", 10))); 46 var_dump(explode("=", str_repeat("-=".ord(0)."=-", 10)));
|
H A D | strncasecmp_variation6.phpt | 15 …$str2 = decbin( ord( chr($ASCII) ) ); //Getting equivalent ASCII value for the character in binar… 24 $str2 = decbin( ord( chr(256) ));
|
/php-src/ext/sodium/tests/ |
H A D | php_password_hash_argon2id.phpt | 35 $password[0] = chr(ord($password[0]) ^ 1);
|
H A D | php_password_verify.phpt | 44 $password[0] = chr(ord($password[0]) ^ 1);
|
/php-src/ext/mysqli/tests/functions/ |
H A D | mysqli_set_charset.phpt | 52 mysqli_real_escape_string($link, chr(ord("a") + $i)) 65 if ($tmp['label'] != chr(ord("a") + $i)) 67 chr(ord("a") + $i), $tmp['label'],
|
/php-src/win32/build/ |
H A D | mkdist.php | 188 $checksum += ord($hdr_data[$i]); 192 $checksum += ord($hdr_data[$i]);
|
/php-src/ext/ffi/tests/ |
H A D | 040.phpt | 28 FFI::memset($x, ord("a"), 4); 44 FFI::memset($y[0], ord("b"), 4);
|
H A D | 010.phpt | 10 FFI::memset($a, ord("a"), FFI::sizeof($a));
|
/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/Zend/tests/fibers/ |
H A D | gh10496-001.phpt | 19 \ord(suspend(1));
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | getBytesFromString_fast_path.phpt | 39 $count[ord($b)] ??= 0; 40 $count[ord($b)]++; 65 $count[ord($b)] ??= 0; 66 $count[ord($b)]++; 88 $count[ord($b)] ??= 0; 89 $count[ord($b)]++;
|