Home
last modified time | relevance | path

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

123

/php-src/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]) {
/php-src/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-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/Zend/tests/multibyte/
H A Dmultibyte_encoding_001.phpt12 printf("%x:%x", ord($s[0]), ord($s[1]));
/php-src/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-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)]++;
/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;
/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/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/ext/intl/tests/
H A Duconverter_oop_callback_return.phpt13 case "\x82": return ord('b');
27 case 0x00F2: return ord("B");
/php-src/Zend/tests/
H A Dbug60350.phpt6 if (ord($str) == 27) {
H A Dclass_constants_005.phpt7 define ("A", "." . ord(26) . ".");
/php-src/ext/pcre/tests/
H A Dbug42737.phpt10 var_dump(array_map('ord', $array));
/php-src/ext/ffi/tests/
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
H A D040.phpt28 FFI::memset($x, ord("a"), 4);
44 FFI::memset($y[0], ord("b"), 4);
/php-src/ext/gd/tests/
H A Dbug79615.phpt15 echo decbin(ord(ob_get_clean()[0xA]));
/php-src/ext/reflection/tests/
H A DReflectionParameter_double_construct.phpt11 $r->__construct('ord', 'character');
/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/Zend/tests/fibers/
H A Dgh10496-001.phpt19 \ord(suspend(1));
/php-src/ext/date/tests/
H A Dbug65184.phpt19 printf("%x ", ord($s[$i]));
/php-src/ext/mbstring/tests/
H A Dbug52981.phpt11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';

Completed in 14 milliseconds

123