Home
last modified time | relevance | path

Searched refs:base64 (Results 1 – 25 of 47) sorted by relevance

12

/PHP-8.0/ext/standard/tests/url/
H A Dbase64_decode_basic_003.phpt35 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 Dbase64_decode_basic_001.phpt2 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 Dbase64_decode_basic_002.phpt2 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.0/ext/imap/tests/
H A Dimap_binary_basic.phpt13 $base64 = imap_binary($str);
14 var_dump(bin2hex($base64));
18 $base64 = imap_binary($str);
19 var_dump(bin2hex($base64));
23 $base64 = imap_binary($str);
24 var_dump(bin2hex($base64));
28 $base64 = imap_binary($hex);
29 var_dump(bin2hex($base64));
H A Dimap_base64_basic.phpt12 $base64 = base64_encode($str);
13 if (imap_base64($base64) == $str) {
20 $base64 = base64_encode($str);
21 if (imap_base64($base64) == $str) {
28 $base64 = base64_encode($hex);
29 if (imap_base64($base64) == $hex) {
H A Dbug77153.phpt13 $server = "x -oProxyCommand=echo\t$payloadb64|base64\t-d|sh}";
/PHP-8.0/ext/standard/tests/file/
H A Dstream_rfc2397_006.phpt9 "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 Dstream_rfc2397_002.phpt11 '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 Dbug68532.phpt2 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 Dstream_rfc2397_003.phpt11 'data://;base64,Zm9vYmFyIGZvb2Jhcg==',
12 'stream_rfc2397_003.gif' => 'data://image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
/PHP-8.0/ext/standard/tests/filters/
H A Dfilter_errors_convert_base64_decode.phpt2 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.0/ext/mbstring/tests/
H A Dmb_convert_encoding_basic.phpt23 echo "JIS encoded string in base64:\n";
31 echo "EUC-JP encoded string in base64:\n";
39 echo "SJIS encoded string in base64:\n";
47 echo "UTF-8 encoded string in base64:\n";
60 JIS encoded string in base64:
68 EUC-JP encoded string in base64:
76 SJIS encoded string in base64:
84 UTF-8 encoded string in base64:
H A Dmb_convert_encoding_array.phpt35 echo "JIS encoded string in base64:\n";
43 echo "EUC-JP encoded string in base64:\n";
51 echo "SJIS encoded string in base64:\n";
59 echo "UTF-8 encoded string in base64:\n";
72 JIS encoded string in base64:
100 EUC-JP encoded string in base64:
128 SJIS encoded string in base64:
156 UTF-8 encoded string in base64:
H A Dmb_convert_encoding_array2.phpt47 echo "JIS encoded string in base64:\n";
55 echo "EUC-JP encoded string in base64:\n";
63 echo "SJIS encoded string in base64:\n";
71 echo "UTF-8 encoded string in base64:\n";
84 JIS encoded string in base64:
118 EUC-JP encoded string in base64:
152 SJIS encoded string in base64:
186 UTF-8 encoded string in base64:
/PHP-8.0/ext/sodium/tests/
H A Dutils.phpt77 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-8.0/ext/iconv/tests/
H A Diconv_basic.phpt22 echo "Expected EUC-JP encoded string in base64:\n";
29 echo "Expected SJIS encoded string in base64:\n";
36 echo "Expected UTF-8 encoded string in base64:\n";
48 Expected EUC-JP encoded string in base64:
55 Expected SJIS encoded string in base64:
62 Expected UTF-8 encoded string in base64:
/PHP-8.0/ext/zlib/tests/
H A Dzlib_filter_deflate.phpt2 zlib.deflate (with convert.base64-encode)
11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
H A Dzlib_filter_inflate.phpt2 zlib.inflate (with convert.base64-decode)
10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
H A Dbug48725_2.phpt9 $stream = fopen('data://text/plain;base64,' . base64_encode('Foo bar baz'),
/PHP-8.0/ext/bz2/tests/
H A Dbz2_filter_compress.phpt2 bzip2.compress (with convert.base64-encode)
11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
H A Dbz2_filter_decompress.phpt2 bzip2.decompress (with convert.base64-decode)
10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
/PHP-8.0/ext/gd/tests/
H A Dbug72913.phpt9 $base64 = 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABnRSTlMAAAAAAABu'
13 $src = imagecreatefromstring(base64_decode($base64));
/PHP-8.0/ext/standard/tests/streams/
H A Dbug70362.phpt9 $data = 'data://plain/text;base64,' . base64_encode($data);
/PHP-8.0/ext/exif/tests/
H A Dbug79046.phpt5 var_dump(exif_read_data('data://image/tiff;base64,TU0AKgAAAA7//wAAANUAAQERAAsAAAABAAD4fwAAAA4A'));
H A Dbug79282.phpt6 var_dump(exif_read_data('data://image/jpeg;base64,/9jhAAlFeGlmAAAg'));

Completed in 32 milliseconds

12