/php-src/ext/hash/tests/ |
H A D | hash_pbkdf2_basic.phpt | 10 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 D | hash_hkdf_edges.phpt | 10 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 D | htmlentities-utf-3.phpt | 49 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 D | bin2hex_001.phpt | 2 bin2hex(); function test 8 echo bin2hex("123456");
|
H A D | bug20934.phpt | 6 echo bin2hex($str), "\n"; 7 echo bin2hex(htmlspecialchars($str, ENT_COMPAT, "UTF-8")), "\n";
|
H A D | basename_invalid_path.phpt | 11 var_dump(bin2hex(basename("\xff"))); 12 var_dump(bin2hex(basename("a\xffb")));
|
H A D | bug23894_32bit.phpt | 11 var_dump($test, bin2hex($test)); 13 var_dump($test, bin2hex($test));
|
H A D | bug23894_64bit.phpt | 11 var_dump($test, bin2hex($test)); 13 var_dump($test, bin2hex($test));
|
H A D | htmlentities16.phpt | 11 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, '')));
|
H A D | str_repeat_variation1.phpt | 13 var_dump( bin2hex( $withCodePoint ) ); 14 var_dump( bin2hex( $explicit ) );
|
H A D | md5_basic2.phpt | 8 var_dump(bin2hex($md5_raw)); 12 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
|
/php-src/ext/mbstring/tests/ |
H A D | mb_convert_variables.phpt | 27 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 D | uuencode_encoding.phpt | 16 …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 D | bug46843.phpt | 7 var_dump(bin2hex(mb_convert_encoding("\x80", 'UCS-2BE', 'CP936'))); 8 var_dump(bin2hex(mb_convert_encoding("\x20\xac", 'CP936', 'UCS-2BE')));
|
H A D | mb_decode_numericentity.phpt | 26 echo $desc, ": ", bin2hex($str), " => ", bin2hex($result); 30 echo " (BAD; expected ", bin2hex($expected), ")\n"; 50 echo "10: " . bin2hex(mb_decode_numericentity('�', $convmap)), "\n"; // OK 51 echo "11: " . bin2hex(mb_decode_numericentity('�', $convmap)), "\n"; // OK 53 echo "11b: " . bin2hex(mb_decode_numericentity('�', $convmap)), "\n"; // OK 54 echo "11c: " . bin2hex(mb_decode_numericentity('�', $convmap)), "\n"; // OK 55 echo "11d: " . bin2hex(mb_decode_numericentity('𐀀', $convmap)), "\n"; // OK 64 echo "15: " . bin2hex(mb_decode_numericentity('�', [0, 1, 0, 0xFFFF], 'UTF-8')) . "\n"; 65 echo "16: " . bin2hex(mb_decode_numericentity('�', [0, 1, 0, 0xFFFF], 'UTF-8')) . "\n"; 76 echo "18: " . bin2hex(mb_decode_numericentity("ϩϪϫ", $convmap, "UTF-8")) . "\n"; [all …]
|
H A D | mb_parse_str_multi.phpt | 26 echo "Query: " . bin2hex($query) . "\n"; 32 echo bin2hex($key) . "=>" . bin2hex($value) . "\n";
|
/php-src/ext/standard/tests/file/ |
H A D | fseek_variation3.phpt | 18 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 D | gzencode_variation2-win32.phpt | 26 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 D | gzencode_variation2.phpt | 25 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 D | deflate_add_buffer_full.phpt | 26 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 D | crypto_hex.phpt | 2 Check for libsodium bin2hex 9 $phphex = bin2hex($bin);
|
/php-src/ext/com_dotnet/tests/ |
H A D | bug63208.phpt | 10 var_dump(bin2hex($string)); 11 var_dump(bin2hex($converted));
|
/php-src/ext/json/tests/ |
H A D | bug41067.phpt | 7 print bin2hex($single_barline) . "\n"; 13 print bin2hex($json_decoded[0]) . "\n";
|
/php-src/ext/openssl/tests/ |
H A D | bug72362.phpt | 12 bin2hex( 22 bin2hex(
|
/php-src/ext/date/tests/ |
H A D | bug65371.phpt | 12 echo bin2hex($str), "\n"; 13 echo bin2hex(strftime($str));
|