Searched refs:ord (Results 1 – 25 of 58) sorted by relevance
123
/php-src/ext/standard/tests/strings/ |
H A D | ord_basic.phpt | 8 var_dump(ord("a")); 9 var_dump(ord("z")); 10 var_dump(ord("0")); 11 var_dump(ord("9")); 12 var_dump(ord("!")); 13 var_dump(ord("*")); 14 var_dump(ord("@")); 15 var_dump(ord("\n")); 16 var_dump(ord("\x0A")); 17 var_dump(ord("\xFF")); [all …]
|
H A D | get_html_translation_table_basic10.phpt | 6 function so($a,$b) { return ord($a) - ord($b); }
|
H A D | htmlentities-utf-3.phpt | 22 $b = ord($seq[0]); 29 if (ord($seq[$n]) < $l[$n][0] || ord($seq[$n]) > $l[$n][1]) {
|
/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]));
|
/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/Zend/tests/multibyte/ |
H A D | multibyte_encoding_001.phpt | 12 printf("%x:%x", ord($s[0]), ord($s[1]));
|
/php-src/ext/sodium/tests/ |
H A D | crypto_auth.phpt | 24 $badmsg[0] = \chr(\ord($badmsg[0]) ^ 0x80); 30 \ord($msg[$i]) ^ ( 39 $badmac[0] = \chr(\ord($badmac[0]) ^ 0x80);
|
/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)]++;
|
/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;
|
/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/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/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/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/ext/pcre/tests/ |
H A D | bug42737.phpt | 10 var_dump(array_map('ord', $array));
|
/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/gd/tests/ |
H A D | bug79615.phpt | 15 echo decbin(ord(ob_get_clean()[0xA]));
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionParameter_double_construct.phpt | 11 $r->__construct('ord', 'character');
|
/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/Zend/tests/fibers/ |
H A D | gh10496-001.phpt | 19 \ord(suspend(1));
|
/php-src/ext/date/tests/ |
H A D | bug65184.phpt | 19 printf("%x ", ord($s[$i]));
|
/php-src/ext/mbstring/tests/ |
H A D | bug52981.phpt | 11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
|
Completed in 14 milliseconds
123