Searched refs:base64_encode (Results 1 – 25 of 51) sorted by relevance
123
/PHP-7.2/ext/standard/tests/url/ |
H A D | base64_encode_error_001.phpt | 2 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 D | base64_encode_basic_002.phpt | 2 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 D | base64_encode_variation_001.phpt | 2 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 D | bug47174.phpt | 11 $in = base64_encode("foo") . '==' . base64_encode("bar");
|
H A D | base64_encode_basic_001.phpt | 2 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 D | bug55273.phpt | 6 $v = chunk_split(base64_encode($s));
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_convert_encoding_basic.phpt | 29 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 D | mb_convert_encoding.phpt | 35 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 D | mb_strtoupper_basic.phpt | 29 var_dump(base64_encode($ascii)); 39 var_dump(base64_encode($mb));
|
H A D | mb_substr_basic.phpt | 35 var_dump(base64_encode($result_1)); 39 var_dump(base64_encode($result_2));
|
H A D | mb_strtolower_variation3.phpt | 28 var_dump(base64_encode($a)); 37 var_dump(base64_encode($b));
|
H A D | mb_strtoupper_variation3.phpt | 29 var_dump(base64_encode($a)); 38 var_dump(base64_encode($b));
|
H A D | mb_substr_variation4.phpt | 39 var_dump(base64_encode($a)); 43 var_dump(base64_encode($b));
|
/PHP-7.2/ext/imap/tests/ |
H A D | imap_base64_basic.phpt | 17 $base64 = base64_encode($str); 25 $base64 = base64_encode($str); 33 $base64 = base64_encode($hex);
|
H A D | bug77153.phpt | 12 $payloadb64 = base64_encode($payload);
|
/PHP-7.2/ext/openssl/tests/ |
H A D | bug73478.phpt | 16 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 D | bug41033.phpt | 16 echo "Signature: ".base64_encode($signature) . "\n";
|
/PHP-7.2/ext/standard/ |
H A D | base64.h | 25 PHP_FUNCTION(base64_encode);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | 007.phpt | 6 $res = md5(base64_decode(base64_encode($str)))."\n";
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | bug24312.phpt | 7 $enc = chunk_split(base64_encode($data), 10, chr($i));
|
/PHP-7.2/ext/session/tests/ |
H A D | session_encode_variation7.phpt | 23 var_dump(base64_encode($encoded));
|
/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug49649.phpt | 18 * echo base64_encode(serialize(new Foo()));
|
H A D | bug49649_1.phpt | 18 * echo base64_encode(serialize(new Foo()));
|
H A D | bug49649_2.phpt | 18 * echo base64_encode(serialize(new Foo()));
|
/PHP-7.2/ext/pdo_firebird/tests/ |
H A D | bug_73087.phpt | 15 'content' => base64_encode(random_bytes(10))
|
Completed in 22 milliseconds
123