/PHP-8.1/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.1/ext/mbstring/tests/ |
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', 104 base64 character after + 113 base64 character after - 266 valid base64 character between + and non-base64 character 275 invalid base64 character between + and non-base64 character 284 valid base64 character between + and base64 character 293 invalid base64 character between + and base64 character 356 valid base64 character consisting only of + between + and base64 character [all …]
|
H A D | gh10192_utf7imap.phpt | 27 'valid base64 character between & and non-base64 character' => 'A &ZeVnLIqe B', 29 'valid base64 character between & and base64 character' => 'A &ZeVnLIqe1 B', 30 'invalid base64 character between & and base64 character' => 'A &ZeVnLIq1 B', 93 base64 character after & 102 base64 character after - 219 valid base64 character between & and non-base64 character 228 invalid base64 character between & and non-base64 character 237 valid base64 character between & and base64 character 246 invalid base64 character between & and base64 character 309 valid base64 character using surrogate pair 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 | 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.1/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.1/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');
|
H A D | stream_rfc2397_003.phpt | 11 'data://;base64,Zm9vYmFyIGZvb2Jhcg==', 12 'stream_rfc2397_003.gif' => 'data://image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
|
/PHP-8.1/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.1/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.1/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.1/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.1/ext/zlib/tests/ |
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);
|
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 | bug48725_2.phpt | 7 $stream = fopen('data://text/plain;base64,' . base64_encode('Foo bar baz'),
|
/PHP-8.1/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);
|
/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 478 bool base64 = false; in mb_check_utf7imap() local 482 if (base64) { in mb_check_utf7imap() 489 base64 = false; in mb_check_utf7imap() 516 base64 = false; in mb_check_utf7imap() 543 base64 = false; in mb_check_utf7imap() 571 base64 = true; in mb_check_utf7imap() 580 return !base64; in mb_check_utf7imap()
|