Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 57) sorted by last modified time

123

/php-src/ext/standard/
H A Dbasic_functions.stub.php2480 function ord(string $character): int {}
H A Dbasic_functions_arginfo.h2577 ZEND_FUNCTION(ord);
H A Dstring.c2690 PHP_FUNCTION(ord) argument
/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/intl/uchar/
H A Duchar_arginfo.h242 ZEND_METHOD(IntlChar, ord);
305 ZEND_ME(IntlChar, ord, arginfo_class_IntlChar_ord, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
H A Duchar.stub.php1570 public static function ord(int|string $character): ?int {} function in IntlChar
H A Duchar.c73 IC_METHOD(ord) { in IC_METHOD() argument
/php-src/ext/opcache/tests/jit/
H A Dshift_right_003.phpt20 var_dump(strlen($s), ord($s[0]), ord($s[1]));
H A Dbug81226.phpt21 $characterReferenceCode += ord($hex[$j]) - 0x0030;
H A Dbug81249.phpt53 $byte = ord($byte);
/php-src/ext/mbstring/tests/
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_encoding.phpt88 if (ord($jisx0201) >= 128) {
89 $kana = chr(ord($jisx0201) - 128);
/php-src/sapi/fpm/tests/
H A Dfcgi.inc622 $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 Dexplode.phpt45 var_dump(explode("==", str_repeat("-=".ord(0)."=-", 10)));
46 var_dump(explode("=", str_repeat("-=".ord(0)."=-", 10)));
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) ));
/php-src/ext/sodium/tests/
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/mysqli/tests/functions/
H A Dmysqli_set_charset.phpt52 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 Dmkdist.php188 $checksum += ord($hdr_data[$i]);
192 $checksum += ord($hdr_data[$i]);
/php-src/ext/ffi/tests/
H A D040.phpt28 FFI::memset($x, ord("a"), 4);
44 FFI::memset($y[0], ord("b"), 4);
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
/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/Zend/tests/fibers/
H A Dgh10496-001.phpt19 \ord(suspend(1));
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt39 $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)]++;

Completed in 103 milliseconds

123