Home
last modified time | relevance | path

Searched refs:bin2hex (Results 51 – 75 of 235) sorted by relevance

12345678910

/php-src/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt10 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n";
12 echo "sha1(rounds)(raw): " . bin2hex(hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltS…
15 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n";
17 echo "sha256(rounds)(raw): " . bin2hex(hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTs…
H A Dhash_hkdf_edges.phpt10 echo 'Length < digestSize: ', bin2hex(hash_hkdf('md5', $ikm, 7)), "\n";
11 echo 'Length % digestSize != 0: ', bin2hex(hash_hkdf('md5', $ikm, 17)), "\n";
12 echo 'Algo name case-sensitivity: ', (bin2hex(hash_hkdf('Md5', $ikm, 7)) === '98b16391063ece' ? 'tr…
/php-src/ext/standard/tests/strings/
H A Dhtmlentities-utf-3.phpt49 echo "Discordance for ".bin2hex($s),"\n";
58 echo "Discordance for ".bin2hex($s),"\n";
61 echo "Discordance for ".bin2hex($s),"\n";
69 echo "Discordance for ".bin2hex($s),"\n";
72 echo "Discordance for ".bin2hex($s),"\n";
75 echo "Discordance for ".bin2hex($s),"\n";
78 echo "Discordance for ".bin2hex($s),"\n";
H A Dbin2hex_001.phpt2 bin2hex(); function test
8 echo bin2hex("123456");
H A Dbug20934.phpt6 echo bin2hex($str), "\n";
7 echo bin2hex(htmlspecialchars($str, ENT_COMPAT, "UTF-8")), "\n";
H A Dbasename_invalid_path.phpt11 var_dump(bin2hex(basename("\xff")));
12 var_dump(bin2hex(basename("a\xffb")));
H A Dbug23894_32bit.phpt11 var_dump($test, bin2hex($test));
13 var_dump($test, bin2hex($test));
H A Dbug23894_64bit.phpt11 var_dump($test, bin2hex($test));
13 var_dump($test, bin2hex($test));
H A Dhtmlentities16.phpt11 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, '')));
H A Dstr_repeat_variation1.phpt13 var_dump( bin2hex( $withCodePoint ) );
14 var_dump( bin2hex( $explicit ) );
H A Dmd5_basic2.phpt8 var_dump(bin2hex($md5_raw));
12 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
/php-src/ext/mbstring/tests/
H A Dmb_convert_variables.phpt27 echo bin2hex($s), "\n"; // Converted to EUC-JP
32 echo bin2hex($s), "\n"; // Converted to EUC-JP
50 echo bin2hex("$s1$s2$s3"), "\n"; // Converted to EUC-JP
58 echo bin2hex("{$aa[0]}{$aa[1]}{$aa[2]}"), "\n"; // Converted to EUC-JP
64 echo bin2hex("{$aa[0]}{$aa[1]}{$aa[2]}"), "\n"; // Converted to EUC-JP
104 echo bin2hex("{$oo->s1}{$oo->s2}{$oo->s3}"), "\n"; // Converted to EUC-JP
124 echo bin2hex("$s1$s2$s3"), "\n"; // Converted to EUC-JP
125 echo bin2hex("{$aa[0]}{$aa[1]}{$aa[2]}"), "\n"; // Converted to EUC-JP
144 echo bin2hex($deeplyNested[0]->inner[0]->inner[0]->inner), "\n";
154 echo bin2hex($nested[0]->inner), "\n";
[all …]
H A Duuencode_encoding.phpt16 …die('Expected "' . $uuencode . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($c…
19 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $uuencode . '"; actually got "' . $converte…
35 …die("Round-trip failed! Expected " . bin2hex($data) . " to round-trip; actually got " . bin2hex($d…
H A Dbug46843.phpt7 var_dump(bin2hex(mb_convert_encoding("\x80", 'UCS-2BE', 'CP936')));
8 var_dump(bin2hex(mb_convert_encoding("\x20\xac", 'CP936', 'UCS-2BE')));
H A Dmb_decode_numericentity.phpt26 echo $desc, ": ", bin2hex($str), " => ", bin2hex($result);
30 echo " (BAD; expected ", bin2hex($expected), ")\n";
50 echo "10: " . bin2hex(mb_decode_numericentity('&#0000000000', $convmap)), "\n"; // OK
51 echo "11: " . bin2hex(mb_decode_numericentity('&#000000000', $convmap)), "\n"; // OK
53 echo "11b: " . bin2hex(mb_decode_numericentity('&#x0000000', $convmap)), "\n"; // OK
54 echo "11c: " . bin2hex(mb_decode_numericentity('&#x00000000', $convmap)), "\n"; // OK
55 echo "11d: " . bin2hex(mb_decode_numericentity('&#x10000', $convmap)), "\n"; // OK
64 echo "15: " . bin2hex(mb_decode_numericentity('&#0;', [0, 1, 0, 0xFFFF], 'UTF-8')) . "\n";
65 echo "16: " . bin2hex(mb_decode_numericentity('&#x0;', [0, 1, 0, 0xFFFF], 'UTF-8')) . "\n";
76 echo "18: " . bin2hex(mb_decode_numericentity("&#1001;&#1002;&#1003;", $convmap, "UTF-8")) . "\n";
[all …]
H A Dmb_parse_str_multi.phpt26 echo "Query: " . bin2hex($query) . "\n";
32 echo bin2hex($key) . "=>" . bin2hex($value) . "\n";
/php-src/ext/standard/tests/file/
H A Dfseek_variation3.phpt18 echo "after -4 seek: ".bin2hex(fread($h,1))."\n";
20 echo "after seek back 1: ".bin2hex(fread($h,1))."\n";
22 echo "after seek back 20: ".bin2hex(fread($h,1))."\n";
29 echo bin2hex($data)."\n";
/php-src/ext/zlib/tests/
H A Dgzencode_variation2-win32.phpt26 var_dump(bin2hex(gzencode($data, -1)));
27 var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
28 var_dump(bin2hex(gzencode($data, -1, FORCE_DEFLATE)));
H A Dgzencode_variation2.phpt25 var_dump(bin2hex(gzencode($data, -1)));
26 var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
27 var_dump(bin2hex(gzencode($data, -1, FORCE_DEFLATE)));
H A Ddeflate_add_buffer_full.phpt26 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
34 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
42 echo bin2hex(substr($deflated, strlen($deflated) - 4)) . "\n";
/php-src/ext/sodium/tests/
H A Dcrypto_hex.phpt2 Check for libsodium bin2hex
9 $phphex = bin2hex($bin);
/php-src/ext/com_dotnet/tests/
H A Dbug63208.phpt10 var_dump(bin2hex($string));
11 var_dump(bin2hex($converted));
/php-src/ext/json/tests/
H A Dbug41067.phpt7 print bin2hex($single_barline) . "\n";
13 print bin2hex($json_decoded[0]) . "\n";
/php-src/ext/openssl/tests/
H A Dbug72362.phpt12 bin2hex(
22 bin2hex(
/php-src/ext/date/tests/
H A Dbug65371.phpt12 echo bin2hex($str), "\n";
13 echo bin2hex(strftime($str));

Completed in 37 milliseconds

12345678910