Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 49) sorted by relevance

12

/PHP-8.0/ext/standard/tests/strings/
H A Dord_basic.phpt8 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 Dget_html_translation_table_basic10.phpt6 function so($a,$b) { return ord($a) - ord($b); }
H A Dhtmlentities-utf-3.phpt22 $b = ord($seq[0]);
29 if (ord($seq[$n]) < $l[$n][0] || ord($seq[$n]) > $l[$n][1]) {
H A Dexplode.phpt43 var_dump(explode("==", str_repeat("-=".ord(0)."=-", 10)));
44 var_dump(explode("=", str_repeat("-=".ord(0)."=-", 10)));
H A Dget_html_translation_table_basic6.phpt6 function so($a,$b) { return ord($a) - ord($b); }
/PHP-8.0/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]));
/PHP-8.0/Zend/tests/multibyte/
H A Dmultibyte_encoding_001.phpt16 printf("%x:%x\n", ord($s[0]), ord($s[1]));
/PHP-8.0/ext/sodium/tests/
H A Dcrypto_auth.phpt24 $badmsg[0] = \chr(\ord($badmsg[0]) ^ 0x80);
30 \ord($msg[$i]) ^ (
39 $badmac[0] = \chr(\ord($badmac[0]) ^ 0x80);
/PHP-8.0/ext/opcache/tests/jit/
H A Dshift_right_003.phpt21 var_dump(strlen($s), ord($s[0]), ord($s[1]));
H A Dbug81226.phpt21 $characterReferenceCode += ord($hex[$j]) - 0x0030;
/PHP-8.0/ext/fileinfo/
H A Dcreate_data_file.php11 printf("0x%02X, ", ord($dta[$i]));
/PHP-8.0/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-8.0/ext/intl/tests/
H A Duconverter_oop_callback_return.phpt13 case "\x82": return ord('b');
25 case 0x00F2: return ord("B");
/PHP-8.0/Zend/tests/
H A Dbug60350.phpt6 if (ord($str) == 27) {
H A Dclass_constants_005.phpt7 define ("A", "." . ord(26) . ".");
/PHP-8.0/ext/pcre/tests/
H A Dbug42737.phpt10 var_dump(array_map('ord', $array));
/PHP-8.0/ext/ffi/tests/
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
H A D040.phpt25 FFI::memset($x, ord("a"), 4);
41 FFI::memset($y[0], ord("b"), 4);
/PHP-8.0/sapi/fpm/tests/
H A Dfcgi.inc366 $nlen = ord($data[$p++]);
371 $nlen |= (ord($data[$p++]));
373 $vlen = ord($data[$p++]);
378 $vlen |= (ord($data[$p++]));
396 $ret['version'] = ord($data[0]);
397 $ret['type'] = ord($data[1]);
398 $ret['requestId'] = (ord($data[2]) << 8) + ord($data[3]);
399 $ret['contentLength'] = (ord($data[4]) << 8) + ord($data[5]);
400 $ret['paddingLength'] = ord($data[6]);
401 $ret['reserved'] = ord($data[7]);
[all …]
/PHP-8.0/ext/gd/tests/
H A Dbug79615.phpt17 echo decbin(ord(ob_get_clean()[0xA]));
/PHP-8.0/ext/date/tests/
H A Dbug65184.phpt18 printf("%x ", ord($s[$i]));
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_character_set.phpt68 $i, mysqli_real_escape_string($link, chr(ord("a") + $i)))))
89 if ($tmp['label'] != chr(ord("a") + $i))
91 chr(ord("a") + $i), $tmp['label'],
/PHP-8.0/ext/pdo_oci/tests/
H A Dpdo_oci_stream_2.phpt80 $a_val = ord('a');
91 $b = ord($str1[0]);
92 $b1 = ord($str2[0]);
/PHP-8.0/ext/mbstring/tests/
H A Dbug52981.phpt11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';

Completed in 28 milliseconds

12