/PHP-8.2/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 35 base64 "" non-strict "" strict "" 36 base64 "=" non-strict "" strict false 37 base64 "==" non-strict "" strict false 38 base64 "===" non-strict "" strict false 39 base64 "====" non-strict "" strict false 40 base64 "V" non-strict "" strict false 41 base64 "V=" non-strict "" strict false 45 base64 "VV" non-strict "U" strict "U" 47 base64 "VV==" non-strict "U" strict "U" 50 base64 "VVV" non-strict "UU" strict "UU" [all …]
|
H A D | base64_decode_basic_001.phpt | 2 Test base64_decode() function : basic functionality - ensure all base64 alphabet is supported. 5 echo "Decode an input string containing the whole base64 alphabet:\n"; 14 Decode an input string containing the whole base64 alphabet:
|
H A D | base64_decode_basic_002.phpt | 2 Test base64_decode() function : basic functionality - strict vs non-strict with non-base64 chars. 18 echo "\nOther chars outside the base64 alphabet are ignored when \$strict===false, but cause failur… 37 Other chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $s…
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | gh10192_utf7imap.phpt | 27 'valid base64 character between & and non-base64 character' => 'A &ZeVnLIqe B', 28 'invalid base64 character between & and non-base64 character' => 'A &ZeVnLIq B', 29 'valid base64 character between & and base64 character' => 'A &ZeVnLIqe1 B', 30 'invalid base64 character between & and base64 character' => 'A &ZeVnLIq1 B', 101 base64 character after & 110 base64 character after - 227 valid base64 character between & and non-base64 character 236 invalid base64 character between & and non-base64 character 245 valid base64 character between & and base64 character 254 invalid base64 character between & and base64 character [all …]
|
H A D | gh10192_utf7.phpt | 31 'valid base64 character between + and non-base64 character' => 'A +ZeVnLIqe B', 33 'valid base64 character between + and base64 character' => 'A +ZeVnLIqe1 B', 34 'invalid base64 character between + and base64 character' => 'A +ZeVnLIq1 B', 112 base64 character after + 274 valid base64 character between + and non-base64 character 283 invalid base64 character between + and non-base64 character 292 valid base64 character between + and base64 character 301 invalid base64 character between + and base64 character 364 valid base64 character consisting only of + between + and base64 character 373 invalid base64 character consisting only of + between + and base64 character [all …]
|
H A D | mb_convert_encoding_basic.phpt | 20 echo "JIS encoded string in base64:\n"; 28 echo "EUC-JP encoded string in base64:\n"; 36 echo "SJIS encoded string in base64:\n"; 44 echo "UTF-8 encoded string in base64:\n"; 57 JIS encoded string in base64: 65 EUC-JP encoded string in base64: 73 SJIS encoded string in base64: 81 UTF-8 encoded string in base64:
|
H A D | mb_convert_encoding_array.phpt | 32 echo "JIS encoded string in base64:\n"; 40 echo "EUC-JP encoded string in base64:\n"; 48 echo "SJIS encoded string in base64:\n"; 56 echo "UTF-8 encoded string in base64:\n"; 69 JIS encoded string in base64: 97 EUC-JP encoded string in base64: 125 SJIS encoded string in base64: 153 UTF-8 encoded string in base64:
|
H A D | base64_encoding.phpt | 11 function testConversion($raw, $base64) { 13 if ($converted !== $base64) 14 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $base64 . '"; actually got "' . $converted … 15 $converted = mb_convert_encoding($base64, '8bit', 'Base64'); 17 …die('Expected "' . $base64 . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($con…
|
H A D | mb_convert_encoding_array2.phpt | 44 echo "JIS encoded string in base64:\n"; 52 echo "EUC-JP encoded string in base64:\n"; 60 echo "SJIS encoded string in base64:\n"; 68 echo "UTF-8 encoded string in base64:\n"; 81 JIS encoded string in base64: 115 EUC-JP encoded string in base64: 149 SJIS encoded string in base64: 183 UTF-8 encoded string in base64:
|
/PHP-8.2/ext/imap/tests/ |
H A D | imap_binary_basic.phpt | 11 $base64 = imap_binary($str); 12 var_dump(bin2hex($base64)); 16 $base64 = imap_binary($str); 17 var_dump(bin2hex($base64)); 21 $base64 = imap_binary($str); 22 var_dump(bin2hex($base64)); 26 $base64 = imap_binary($hex); 27 var_dump(bin2hex($base64));
|
H A D | imap_base64_basic.phpt | 10 $base64 = base64_encode($str); 11 if (imap_base64($base64) == $str) { 18 $base64 = base64_encode($str); 19 if (imap_base64($base64) == $str) { 26 $base64 = base64_encode($hex); 27 if (imap_base64($base64) == $hex) {
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | stream_rfc2397_006.phpt | 9 "data:;base64,\0Zm9vYmFyIGZvb2Jhcg==", 10 "data:;base64,Zm9vYmFy\0IGZvb2Jhcg==", 11 'data:;base64,#Zm9vYmFyIGZvb2Jhcg==', 12 'data:;base64,#Zm9vYmFyIGZvb2Jhc=', 29 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): Failed to open stream: rfc2397: una… 32 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhc=): Failed to open stream: rfc2397: unabl…
|
H A D | stream_rfc2397_002.phpt | 11 'data://;base64,', 12 'data://;base64', 19 'data://text/plain;foo=bar;base64,', 37 ["base64"]=> 56 ["base64"]=> 69 string(15) "data://;base64," 81 ["base64"]=> 104 ["base64"]=> 127 ["base64"]=> 140 string(33) "data://text/plain;foo=bar;base64," [all …]
|
H A D | bug68532.phpt | 2 Bug #68532: convert.base64-encode omits padding bytes 9 $filter = stream_filter_append($stream, 'convert.base64-encode'); 16 $filter = stream_filter_append($fileStream , 'convert.base64-encode');
|
/PHP-8.2/ext/standard/tests/filters/ |
H A D | filter_errors_convert_base64_decode.phpt | 2 Filter errors: convert.base64-decode 4 <?php require 'filter_errors.inc'; filter_errors_skipif('convert.base64-decode'); ?> 8 filter_errors_test('convert.base64-decode', '==='); 13 Warning: stream_filter_append(): Stream filter (convert.base64-decode): invalid byte sequence in %s 18 Warning: stream_get_contents(): Stream filter (convert.base64-decode): invalid byte sequence in %s
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 505 *base64 = false; in handle_base64_end() 526 if (base64) { in mb_utf7imap_to_wchar() 606 base64 = true; in mb_utf7imap_to_wchar() 650 bool base64; in mb_wchar_to_utf7imap() local 656 if (base64) { in mb_wchar_to_utf7imap() 662 base64 = false; in mb_wchar_to_utf7imap() 714 base64 = true; in mb_wchar_to_utf7imap() 724 if (base64) { in mb_wchar_to_utf7imap() 755 if (base64) { in mb_check_utf7imap() 762 base64 = false; in mb_check_utf7imap() [all …]
|
H A D | mbfilter_utf7.c | 490 *base64 = false; in handle_base64_end() 512 if (base64) { in mb_utf7_to_wchar() 631 bool base64; in mb_wchar_to_utf7() local 637 if (base64) { in mb_wchar_to_utf7() 640 base64 = false; in mb_wchar_to_utf7() 691 base64 = true; in mb_wchar_to_utf7() 701 if (base64) { in mb_wchar_to_utf7() 734 if (base64) { in mb_check_utf7() 740 base64 = false; in mb_check_utf7() 769 base64 = false; in mb_check_utf7() [all …]
|
/PHP-8.2/ext/sodium/tests/ |
H A D | utils.phpt | 77 var_dump('base64("O1R") case passed'); 82 var_dump('base64("O1") case passed'); 87 var_dump('base64("O") case passed'); 91 var_dump('base64("O1R") case passed'); 92 var_dump('base64("O1") case passed'); 93 var_dump('base64("O") case passed'); 125 string(25) "base64("O1R") case passed" 126 string(24) "base64("O1") case passed" 127 string(23) "base64("O") case passed"
|
/PHP-8.2/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 19 echo "Expected EUC-JP encoded string in base64:\n"; 26 echo "Expected SJIS encoded string in base64:\n"; 33 echo "Expected UTF-8 encoded string in base64:\n"; 45 Expected EUC-JP encoded string in base64: 52 Expected SJIS encoded string in base64: 59 Expected UTF-8 encoded string in base64:
|
/PHP-8.2/ext/gd/tests/ |
H A D | bug79945.phpt | 12 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 17 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 22 Warning: imagecreatefrompng(): "php://filter/read=convert.base64-encode/resource=%s" is not a valid…
|
H A D | bug72913.phpt | 7 $base64 = 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABnRSTlMAAAAAAABu' 11 $src = imagecreatefromstring(base64_decode($base64));
|
/PHP-8.2/ext/zlib/tests/ |
H A D | zlib_filter_inflate.phpt | 2 zlib.inflate (with convert.base64-decode) 10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
|
H A D | zlib_filter_deflate.phpt | 2 zlib.deflate (with convert.base64-encode) 11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
|
/PHP-8.2/ext/bz2/tests/ |
H A D | bz2_filter_compress.phpt | 2 bzip2.compress (with convert.base64-encode) 11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
|
H A D | bz2_filter_decompress.phpt | 2 bzip2.decompress (with convert.base64-decode) 10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
|