Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 105) sorted by relevance

12345

/PHP-8.2/tests/lang/integer_literals/
H A Dhexadecimal_32bit.phpt12 var_dump($hex);
17 var_dump($hex);
20 $hex = 0x1C;
21 var_dump($hex);
24 $hex = 0x1_C;
25 var_dump($hex);
28 $hex = 0x0_01C;
29 var_dump($hex);
30 $hex = 0x0_1C;
48 $hex = 0X1C;
[all …]
H A Dhexadecimal_64bit.phpt12 var_dump($hex);
17 var_dump($hex);
20 $hex = 0x1C;
21 var_dump($hex);
24 $hex = 0x1_C;
25 var_dump($hex);
28 $hex = 0x0_01C;
29 var_dump($hex);
30 $hex = 0x0_1C;
49 $hex = 0X1C;
[all …]
/PHP-8.2/ext/sodium/tests/
H A Dcrypto_hex.phpt8 $hex = sodium_bin2hex($bin);
10 var_dump(strcasecmp($hex, $phphex));
12 $bin2 = sodium_hex2bin($hex);
15 $bin2 = sodium_hex2bin('[' . $hex .']', '[]');
/PHP-8.2/ext/mbstring/tests/
H A Dmb_encode_numericentity.phpt11 echo "1 (hex): " . mb_encode_numericentity($str1, $convmap, "UTF-8", true) . "\n";
37 echo "7 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n";
42 echo "8 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n";
47 echo "9 (hex): " . mb_encode_numericentity("\x01\x02\x03", $convmap, "UTF-8", true) . "\n";
52 echo "10 (hex): " . mb_encode_numericentity('föo', $convmap, "UTF-8", true) . "\n";
77 6 (hex): �
79 7 (hex): föo
81 8 (hex): ϩϪϫ
83 9 (hex): ���
85 10 (hex): ""#
[all …]
H A Dmb_decode_numericentity.phpt52 // Try with hex, not just decimal entities
91 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII');
92 test("More than 8 digits for hex entity", "Ł", "Ł", [0, 0xFFFF, 0, 0xFFFF],…
107 test("Successive hex entities", "&#x322", "22", [0, 0xFFFF, 0, 0xFFFF], 'ASCII');
119 test("Starting entity immediately after invalid hex entity", "&#x0A", "&#x0A", [0x1, 0xFFFF, 0,…
143 // First try invalid decimal/hex entities
148 // Now try valid decimal/hex entities
194 8 digits for hex entity: string(12) "A" => string(1) "A" (Good)
195 More than 8 digits for hex entity: string(13) "Ł" => string(13) "Ł" (Good)
202 Successive hex entities: string(11) "&#x322" => string(2) "22" (Good)
[all …]
H A Dbug31911.phpt2 Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
/PHP-8.2/ext/intl/tests/
H A Dtransliterator_clone.phpt10 $t = Transliterator::create("hex-any");
19 hex-any: a 万
20 hex-any: a 万
/PHP-8.2/ext/opcache/tests/jit/
H A Dbug81226.phpt15 $hex = '10000000000000041';
20 for ($j = 0, $len = strlen($hex); $j < $len; ++$j) {
22 $characterReferenceCode += ord($hex[$j]) - 0x0030;
/PHP-8.2/ext/ldap/tests/
H A Dldap_exop.phpt19 $hex = '';
21 $hex .= '80'.sprintf("%'.02x", strlen($user)).bin2hex($user);
24 $hex .= '81'.sprintf("%'.02x", strlen($oldpw)).bin2hex($oldpw);
27 $hex .= '82'.sprintf("%'.02x", strlen($newpw)).bin2hex($newpw);
29 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
H A Dldap_get_option_controls.phpt21 $hex = '';
24 $hex .= '02'.sprintf("%'.02x%s", strlen($str)/2, $str);
26 $hex .= '04'.sprintf("%'.02x", strlen($cookie)).bin2hex($cookie);
27 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
/PHP-8.2/ext/curl/
H A Dsync-constants.php303 $hex = '0x';
322 $hex .= $value;
325 return $hex;
/PHP-8.2/ext/imap/tests/
H A Dimap_base64_basic.phpt25 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF';
26 $base64 = base64_encode($hex);
27 if (imap_base64($base64) == $hex) {
H A Dimap_binary_basic.phpt25 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF';
26 $base64 = imap_binary($hex);
/PHP-8.2/ext/standard/tests/array/
H A Dnatcasesort_variation5.phpt2 Test natcasesort() function : usage variations - different hex values
6 * Pass an array of different hex values to test how natcasesort() re-orders it
/PHP-8.2/ext/calendar/tests/
H A Djdtojewish_hebrew.phpt13 $hex = bin2hex($hebrew);
14 echo "$hex\n";
/PHP-8.2/ext/pgsql/tests/
H A D18pg_escape_bytea_hex.phpt2 PostgreSQL pg_escape_bytea() functions (hex format)
17 @pg_query($db, "SET bytea_output = 'hex'");
/PHP-8.2/Zend/tests/
H A Dbug78454_1.phpt2 Invalid consecutive numeric separators after hex literal
H A Dbug77993.phpt2 Bug #77993 (Wrong parse error for invalid hex literal on Windows)
/PHP-8.2/ext/standard/tests/general_functions/
H A D001.phpt23 echo("sprintf octal and hex test: ");
59 sprintf octal and hex test: passed
/PHP-8.2/ext/hash/tests/
H A Dbug64745.phpt2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
/PHP-8.2/ext/standard/
H A Dquot_print.c148 char *hex = "0123456789ABCDEF"; in php_quot_print_encode() local
172 *d++ = hex[c >> 4]; in php_quot_print_encode()
173 *d++ = hex[c & 0xf]; in php_quot_print_encode()
/PHP-8.2/ext/filter/tests/
H A Dbug80584.phpt2 Bug #80584: "0x" and "0X" are considered valid hex numbers by filter_var()
/PHP-8.2/ext/json/tests/
H A Dpass001.phpt35 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\",
118 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
211 ["hex"]=>
349 ["hex"]=>
426 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
428 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
491 ["hex"]=>
629 ["hex"]=>
/PHP-8.2/ext/iconv/tests/
H A Dbug53304.phpt2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
/PHP-8.2/ext/standard/tests/strings/
H A Dbug36148.phpt2 Bug #36148 (unpack("H*hex", $data) is adding an extra character to the end of the string)

Completed in 60 milliseconds

12345