Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/imap/tests/
H A Dimap_binary_basic.phpt10 * 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 Dimap_base64_basic.phpt17 $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-5.5/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-5.5/ext/standard/tests/url/
H A Dbase64_decode_basic_001.phpt2 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 Dbase64_decode_basic_002.phpt2 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 Dbase64_encode_basic_002.phpt6 * Description: Encodes string using MIME base64 algorithm
7 * Source code: ext/standard/base64.c
H A Dbase64_decode_error_001.phpt6 * Description: Decodes string using MIME base64 algorithm
7 * Source code: ext/standard/base64.c
H A Dbase64_encode_error_001.phpt6 * Description: Encodes string using MIME base64 algorithm
7 * Source code: ext/standard/base64.c
/PHP-5.5/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=',
31 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"]=>
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 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
H A Dstream_rfc2397_005.phpt11 'data:;base64,Zm9vYmFyIGZvb2Jhcg==',
/PHP-5.5/ext/xmlrpc/tests/
H A Dbug70728.phpt10 $obj->xmlrpc_type = 'base64';
20 <base64>NzM1ODgyMjkyMDU=&#10;</base64>
27 string(6) "base64"
/PHP-5.5/ext/mbstring/tests/
H A Dmb_convert_encoding_basic.phpt28 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:
/PHP-5.5/ext/iconv/tests/
H A Diconv_basic.phpt27 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-5.5/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-5.5/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 Dbug_52944.phpt15 $fp = fopen('data://text/plain;base64,' . $data, 'r');
H A Dbug_40189.phpt13 $fp = fopen('data://text/plain;base64,AwCFRi98wqppK23l2/7kIY8AlyEdAgAAAEdCTUI=', 'r');
/PHP-5.5/ext/openssl/tests/
H A Dbug61124.phpt11 Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s
/PHP-5.5/ext/standard/tests/streams/
H A Dbug71323.phpt19 ["base64"]=>
/PHP-5.5/ext/xmlrpc/
H A Dconfig.w3211 ADD_SOURCES(configure_module_dirname + "/libxmlrpc", "base64.c simplestring.c xml_to_dandarpc.c \

Completed in 82 milliseconds

12