Home
last modified time | relevance | path

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

123

/PHP-8.1/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.1/ext/mbstring/tests/
H A Dgh10192_utf7.phpt31 '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 Dgh10192_utf7imap.phpt27 '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 Dmb_convert_encoding_basic.phpt20 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 Dmb_convert_encoding_array.phpt32 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 Dmb_convert_encoding_array2.phpt44 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 Dimap_binary_basic.phpt11 $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 Dimap_base64_basic.phpt10 $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 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.1/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.1/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');
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 Diconv_basic.phpt19 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 Dbug79945.phpt12 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 Dbug72913.phpt7 $base64 = 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABnRSTlMAAAAAAABu'
11 $src = imagecreatefromstring(base64_decode($base64));
/PHP-8.1/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.phpt7 $stream = fopen('data://text/plain;base64,' . base64_encode('Foo bar baz'),
/PHP-8.1/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.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c478 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()

Completed in 72 milliseconds

123