/PHP-7.4/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 8 * Description: Decodes string using MIME base64 algorithm 9 * Source code: ext/standard/base64.c 43 base64 "" non-strict "" strict "" 44 base64 "=" non-strict "" strict false 45 base64 "==" non-strict "" strict false 46 base64 "===" non-strict "" strict false 47 base64 "====" non-strict "" strict false 53 base64 "VV" non-strict "U" strict "U" 55 base64 "VV==" non-strict "U" strict "U" 58 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. 6 * Description: Decodes string using MIME base64 algorithm 7 * Source code: ext/standard/base64.c 11 echo "Decode an input string containing the whole base64 alphabet:\n"; 20 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. 6 * Description: Decodes string using MIME base64 algorithm 7 * Source code: ext/standard/base64.c 24 echo "\nOther chars outside the base64 alphabet are ignored when \$strict===false, but cause failur… 43 Other chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $s…
|
H A D | base64_encode_basic_002.phpt | 6 * Description: Encodes string using MIME base64 algorithm 7 * Source code: ext/standard/base64.c
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug74975.phpt | 22 $foo->xmlrpc_type = 'base64'; 26 $bar->xmlrpc_type = 'base64'; 44 <base64>Zm9vYmFy </base64> 50 <base64>Zm9vYmFy </base64>
|
H A D | bug70728.phpt | 11 $obj->xmlrpc_type = 'base64'; 21 <base64>NzM1ODgyMjkyMDU= </base64> 28 string(6) "base64"
|
H A D | bug70728_64bit.phpt | 11 $obj->xmlrpc_type = 'base64'; 21 <base64>NzM1ODgyMjkyMDU= </base64> 28 string(6) "base64"
|
H A D | bug77380.phpt | 2 Bug #77380 (Global out of bounds read in xmlrpc base64 code) 16 string(6) "base64"
|
/PHP-7.4/ext/imap/tests/ |
H A D | imap_binary_basic.phpt | 10 * Description: Convert an 8bit string to a base64 string. 18 $base64 = imap_binary($str); 19 var_dump(bin2hex($base64)); 23 $base64 = imap_binary($str); 24 var_dump(bin2hex($base64)); 28 $base64 = imap_binary($str); 29 var_dump(bin2hex($base64)); 33 $base64 = imap_binary($hex); 34 var_dump(bin2hex($base64));
|
H A D | imap_base64_basic.phpt | 17 $base64 = base64_encode($str); 18 if (imap_base64($base64) == $str) { 25 $base64 = base64_encode($str); 26 if (imap_base64($base64) == $str) { 33 $base64 = base64_encode($hex); 34 if (imap_base64($base64) == $hex) {
|
/PHP-7.4/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-7.4/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=', 30 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): failed to open stream: rfc2397: una… 33 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"]=> 58 ["base64"]=> 71 string(15) "data://;base64," 89 ["base64"]=> 114 ["base64"]=> 139 ["base64"]=> 152 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-7.4/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'); 124 string(25) "base64("O1R") case passed" 125 string(24) "base64("O1") case passed" 126 string(23) "base64("O") case passed"
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_convert_encoding_basic.phpt | 28 echo "JIS encoded string in base64:\n"; 36 echo "EUC-JP encoded string in base64:\n"; 44 echo "SJIS encoded string in base64:\n"; 52 echo "UTF-8 encoded string in base64:\n"; 65 JIS encoded string in base64: 73 EUC-JP encoded string in base64: 81 SJIS encoded string in base64: 89 UTF-8 encoded string in base64:
|
H A D | mb_convert_encoding_array.phpt | 40 echo "JIS encoded string in base64:\n"; 48 echo "EUC-JP encoded string in base64:\n"; 56 echo "SJIS encoded string in base64:\n"; 64 echo "UTF-8 encoded string in base64:\n"; 77 JIS encoded string in base64: 105 EUC-JP encoded string in base64: 133 SJIS encoded string in base64: 161 UTF-8 encoded string in base64:
|
H A D | mb_convert_encoding_array2.phpt | 52 echo "JIS encoded string in base64:\n"; 60 echo "EUC-JP encoded string in base64:\n"; 68 echo "SJIS encoded string in base64:\n"; 76 echo "UTF-8 encoded string in base64:\n"; 89 JIS encoded string in base64: 123 EUC-JP encoded string in base64: 157 SJIS encoded string in base64: 191 UTF-8 encoded string in base64:
|
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 27 echo "Expected EUC-JP encoded string in base64:\n"; 34 echo "Expected SJIS encoded string in base64:\n"; 41 echo "Expected UTF-8 encoded string in base64:\n"; 53 Expected EUC-JP encoded string in base64: 60 Expected SJIS encoded string in base64: 67 Expected UTF-8 encoded string in base64:
|
/PHP-7.4/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);
|
/PHP-7.4/ext/bz2/tests/ |
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);
|
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);
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug72913.phpt | 9 $base64 = 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABnRSTlMAAAAAAABu' 13 $src = imagecreatefromstring(base64_decode($base64));
|