Home
last modified time | relevance | path

Searched refs:base64_encode (Results 1 – 25 of 54) sorted by relevance

123

/PHP-7.3/ext/standard/tests/url/
H A Dbase64_encode_error_001.phpt2 Test base64_encode() function : error conditions - wrong number of args
5 /* Prototype : proto string base64_encode(string str)
11 echo "*** Testing base64_encode() : error conditions - wrong number of args ***\n";
14 echo "\n-- Testing base64_encode() function with Zero arguments --\n";
15 var_dump( base64_encode() );
17 //Test base64_encode with one more than the expected number of arguments
21 var_dump( base64_encode($str, $extra_arg) );
26 *** Testing base64_encode() : error conditions - wrong number of args ***
28 -- Testing base64_encode() function with Zero arguments --
30 Warning: base64_encode() expects exactly 1 parameter, 0 given in %s on line 12
[all …]
H A Dbase64_encode_basic_002.phpt2 Test base64_encode() function : basic functionality - check algorithm round trips
5 /* Prototype : proto string base64_encode(string str)
12 * Test base64_encode with single byte values.
15 echo "*** Testing base64_encode() : basic functionality ***\n";
25 echo "\n--- Testing base64_encode() with binary string input ---\n";
31 $enc = base64_encode($str);
46 *** Testing base64_encode() : basic functionality ***
48 --- Testing base64_encode() with binary string input ---
H A Dbase64_encode_variation_001.phpt2 Test base64_encode() function : usage variations - unexpected types for argument 1
5 /* Prototype : proto string base64_encode(string str)
11 echo "*** Testing base64_encode() : usage variations ***\n";
76 var_dump( base64_encode($value) );
82 *** Testing base64_encode() : usage variations ***
115 Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
120 Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
125 Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
130 Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
135 Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
[all …]
H A Dbug47174.phpt11 $in = base64_encode("foo") . '==' . base64_encode("bar");
H A Dbase64_encode_basic_001.phpt2 Test base64_encode() function : basic functionality
5 /* Prototype : proto string base64_encode(string str)
12 * Test base64_encode with single byte values.
15 echo "*** Testing base64_encode() : basic functionality ***\n";
19 $enc = base64_encode($str);
26 *** Testing base64_encode() : basic functionality ***
H A Dbug55273.phpt6 $v = chunk_split(base64_encode($s));
/PHP-7.3/ext/mbstring/tests/
H A Dmb_convert_encoding_basic.phpt29 var_dump(base64_encode($jis_string));
31 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'JIS', 'SJIS')));
33 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'JIS', 'UTF-8')));
37 var_dump(base64_encode($euc_jp_string));
39 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS')));
40 var_dump(base64_encode(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS')));
45 var_dump(base64_encode($sjis_string));
47 var_dump(base64_encode(mb_convert_encoding($jis_string, 'SJIS', 'JIS')));
49 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8')));
53 var_dump(base64_encode($utf8_string));
[all …]
H A Dmb_convert_encoding.phpt35 print("SJIS: ".base64_encode($s)."\n"); // SJIS
39 print("JIS: ".base64_encode($s)."\n"); // JIS
52 print("SJIS: ".base64_encode($s)."\n"); // SJIS
56 print("JIS: ".base64_encode($s)."\n"); // JIS
69 print("SJIS: ".base64_encode($s)."\n"); // SJIS
73 print("JIS: ".base64_encode($s)."\n"); // JIS
85 print("SJIS: ".base64_encode($s)."\n"); // SJIS
89 print("JIS: ".base64_encode($s)."\n"); // JIS
H A Dmb_strtoupper_basic.phpt29 var_dump(base64_encode($ascii));
39 var_dump(base64_encode($mb));
H A Dmb_substr_basic.phpt35 var_dump(base64_encode($result_1));
39 var_dump(base64_encode($result_2));
H A Dmb_strtolower_variation3.phpt28 var_dump(base64_encode($a));
37 var_dump(base64_encode($b));
H A Dmb_strtoupper_variation3.phpt29 var_dump(base64_encode($a));
38 var_dump(base64_encode($b));
/PHP-7.3/ext/imap/tests/
H A Dimap_base64_basic.phpt17 $base64 = base64_encode($str);
25 $base64 = base64_encode($str);
33 $base64 = base64_encode($hex);
H A Dbug77153.phpt12 $payloadb64 = base64_encode($payload);
/PHP-7.3/ext/openssl/tests/
H A Dbug73478.phpt16 printf("Private key:\n%s\n", base64_encode($data['dh']['priv_key']));
17 printf("Public key:\n%s\n", base64_encode($data['dh']['pub_key']));
H A Dbug41033.phpt16 echo "Signature: ".base64_encode($signature) . "\n";
/PHP-7.3/ext/standard/tests/streams/
H A Dbug70362.phpt9 $data = 'data://plain/text;base64,' . base64_encode($data);
/PHP-7.3/ext/standard/tests/general_functions/
H A D007.phpt6 $res = md5(base64_decode(base64_encode($str)))."\n";
/PHP-7.3/ext/standard/
H A Dbase64.h58 PHP_FUNCTION(base64_encode);
/PHP-7.3/ext/standard/tests/strings/
H A Dbug24312.phpt7 $enc = chunk_split(base64_encode($data), 10, chr($i));
/PHP-7.3/ext/session/tests/
H A Dsession_encode_variation7.phpt23 var_dump(base64_encode($encoded));
/PHP-7.3/ext/standard/tests/serialize/
H A Dbug49649.phpt18 * echo base64_encode(serialize(new Foo()));
H A Dbug49649_1.phpt18 * echo base64_encode(serialize(new Foo()));
H A Dbug49649_2.phpt18 * echo base64_encode(serialize(new Foo()));
/PHP-7.3/ext/pdo_firebird/tests/
H A Dbug_73087.phpt15 'content' => base64_encode(random_bytes(10))

Completed in 28 milliseconds

123