Home
last modified time | relevance | path

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

123

/PHP-7.3/ext/recode/tests/
H A D001.phpt8 $hex = '';
12 $hex .= $byte . " ";
14 return $hex;
17 function hex2ascii($hex){
19 $hex=str_replace(" ", "", $hex);
20 for($i=0; $i<strlen($hex); $i=$i+2) {
21 $ascii .= chr(hexdec(substr($hex, $i, 2)));
H A D002.phpt8 $hex = '';
12 $hex .= $byte . " ";
14 return $hex;
/PHP-7.3/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-7.3/ext/intl/tests/
H A Dtransliterator_clone.phpt10 $t = Transliterator::create("hex-any");
18 hex-any: a 万
19 hex-any: a 万
H A Dini_use_exceptions_basic.phpt8 $t = transliterator_create('any-hex');
/PHP-7.3/ext/ldap/tests/
H A Dldap_exop.phpt18 $hex = '';
20 $hex .= '80'.sprintf("%'.02x", strlen($user)).bin2hex($user);
23 $hex .= '81'.sprintf("%'.02x", strlen($oldpw)).bin2hex($oldpw);
26 $hex .= '82'.sprintf("%'.02x", strlen($newpw)).bin2hex($newpw);
28 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
H A Dldap_get_option_controls.phpt20 $hex = '';
23 $hex .= '02'.sprintf("%'.02x%s", strlen($str)/2, $str);
25 $hex .= '04'.sprintf("%'.02x", strlen($cookie)).bin2hex($cookie);
26 return hex2bin('30'.sprintf("%'.02x", strlen($hex)/2).$hex);
/PHP-7.3/ext/imap/tests/
H A Dimap_base64_basic.phpt32 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF';
33 $base64 = base64_encode($hex);
34 if (imap_base64($base64) == $hex) {
H A Dimap_binary_basic.phpt32 $hex = 'x00\x01\x02\x03\x04\x05\x06\xFA\xFB\xFC\xFD\xFE\xFF';
33 $base64 = imap_binary($hex);
/PHP-7.3/ext/pgsql/tests/
H A D18pg_escape_bytea_hex.phpt2 PostgreSQL pg_escape_bytea() functions (hex format)
15 @pg_query($db, "SET bytea_output = 'hex'");
H A D13pg_select_9.phpt15 pg_query("SET bytea_output = 'hex'");
H A Dbug37100_9.phpt18 pg_query("INSERT INTO test_bug VALUES (decode('0103AA000812','hex'))");
H A Dbug37100.phpt19 pg_query("INSERT INTO test_bug VALUES (decode('0103AA000812','hex'))");
/PHP-7.3/ext/calendar/tests/
H A Djdtojewish_hebrew.phpt15 $hex = bin2hex($hebrew);
16 echo "$hex\n";
/PHP-7.3/ext/standard/tests/array/
H A Dnatcasesort_variation5.phpt2 Test natcasesort() function : usage variations - different hex values
11 * Pass an array of different hex values to test how natcasesort() re-orders it
/PHP-7.3/Zend/tests/
H A Dbug77993.phpt2 Bug #77993 (Wrong parse error for invalid hex literal on Windows)
/PHP-7.3/ext/standard/tests/general_functions/
H A D001.phpt23 echo("sprintf octal and hex test: ");
59 sprintf octal and hex test: passed
/PHP-7.3/ext/standard/
H A Dquot_print.c150 char *hex = "0123456789ABCDEF"; in php_quot_print_encode() local
174 *d++ = hex[c >> 4]; in php_quot_print_encode()
175 *d++ = hex[c & 0xf]; in php_quot_print_encode()
/PHP-7.3/ext/hash/tests/
H A Dbug64745.phpt2 Bug #64745 hash_pbkdf2() truncates data when using default length and hex output
/PHP-7.3/ext/mbstring/tests/
H A Dbug31911.phpt2 Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
/PHP-7.3/ext/json/tests/
H A Dpass001.phpt39 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\",
122 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
215 ["hex"]=>
353 ["hex"]=>
430 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
432 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
495 ["hex"]=>
633 ["hex"]=>
H A Dpass001.1.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"]=>
H A Dpass001.1_64bit.phpt46 \"hex\": \"\\u0123\\u4567\\u89AB\\uCDEF\\uabcd\\uef4A\",
134 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
233 ["hex"]=>
414 ["hex"]=>
532 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
534 …TUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89a…
599 ["hex"]=>
780 ["hex"]=>
/PHP-7.3/ext/iconv/tests/
H A Dbug53304.phpt2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
/PHP-7.3/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 25 milliseconds

123