Home
last modified time | relevance | path

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

1234

/PHP-8.1/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.1/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.1/ext/intl/tests/
H A Dtransliterator_clone.phpt10 $t = Transliterator::create("hex-any");
19 hex-any: a 万
20 hex-any: a 万
H A Dini_use_exceptions_basic.phpt8 $t = transliterator_create('any-hex');
/PHP-8.1/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.1/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.1/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.1/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.1/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.1/ext/calendar/tests/
H A Djdtojewish_hebrew.phpt13 $hex = bin2hex($hebrew);
14 echo "$hex\n";
/PHP-8.1/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.1/ext/standard/tests/general_functions/
H A D001.phpt23 echo("sprintf octal and hex test: ");
59 sprintf octal and hex test: passed
/PHP-8.1/ext/mbstring/tests/
H A Dbug31911.phpt2 Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
/PHP-8.1/ext/hash/tests/
H A Dbug64745.phpt2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
/PHP-8.1/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.1/ext/filter/tests/
H A Dbug80584.phpt2 Bug #80584: "0x" and "0X" are considered valid hex numbers by filter_var()
/PHP-8.1/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"]=>
H A Dpass001.1.phpt41 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\",
129 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
228 ["hex"]=>
409 ["hex"]=>
527 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
529 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
594 ["hex"]=>
775 ["hex"]=>
H A Dpass001.1_64bit.phpt45 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\",
133 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
232 ["hex"]=>
413 ["hex"]=>
531 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
533 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
598 ["hex"]=>
779 ["hex"]=>
/PHP-8.1/ext/iconv/tests/
H A Dbug53304.phpt2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
/PHP-8.1/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 121 milliseconds

1234