Home
last modified time | relevance | path

Searched refs:base64_decode (Results 1 – 25 of 99) sorted by relevance

1234

/PHP-5.3/ext/standard/tests/url/
H A Dbase64_decode_error_001.phpt2 Test base64_decode() function : error conditions - wrong number of args
5 /* Prototype : proto string base64_decode(string str[, bool strict])
11 echo "*** Testing base64_decode() : error conditions ***\n";
14 echo "\n-- Testing base64_decode() function with Zero arguments --\n";
15 var_dump( base64_decode() );
17 //Test base64_decode with one more than the expected number of arguments
22 var_dump( base64_decode($str, $strict, $extra_arg) );
27 *** Testing base64_decode() : error conditions ***
29 -- Testing base64_decode() function with Zero arguments --
31 Warning: base64_decode() expects at least 1 parameter, 0 given in %s on line 12
[all …]
H A Dbase64_decode_basic_002.phpt5 /* Prototype : proto string base64_decode(string str[, bool strict])
13 var_dump(base64_decode($noWhiteSpace));
14 var_dump(base64_decode($noWhiteSpace, false));
15 var_dump(base64_decode($noWhiteSpace, true));
20 var_dump(base64_decode($withWhiteSpace));
21 var_dump(base64_decode($withWhiteSpace, false));
22 var_dump(base64_decode($withWhiteSpace, true));
26 var_dump(base64_decode($badChars));
27 var_dump(base64_decode($badChars, false));
28 var_dump(base64_decode($badChars, true));
[all …]
H A Dbase64_decode_basic_001.phpt2 Test base64_decode() function : basic functionality - ensure all base64 alphabet is supported.
5 /* Prototype : proto string base64_decode(string str[, bool strict])
13 var_dump(bin2hex(base64_decode($allbase64)));
14 var_dump(bin2hex(base64_decode($allbase64, false)));
15 var_dump(bin2hex(base64_decode($allbase64, true)));
H A Dbug47174.phpt2 Bug #47174 (base64_decode() interprets pad char in mid string as terminator)
5 if (base64_decode(b"dGVzdA==") == base64_decode(b"dGVzdA==CRAP")) {
12 var_dump($in, base64_decode($in));
H A Dbase64_decode_variation_001.phpt2 Test base64_decode() function : usage variations - unexpected types for arg 1
5 /* Prototype : proto string base64_decode(string str[, bool strict])
16 echo "*** Testing base64_decode() : usage variations ***\n";
81 $output = base64_decode($value, $strict);
93 *** Testing base64_decode() : usage variations ***
125 Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(%d)
129 Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(%d)
133 Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(%d)
137 Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(%d)
141 Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(%d)
[all …]
H A Dbase64_decode_variation_002.phpt2 Test base64_decode() function : usage variations - unexpected types for arg 2
5 /* Prototype : proto string base64_decode(string str[, bool strict])
16 echo "*** Testing base64_decode() : usage variations ***\n";
81 var_dump(base64_decode($str, $value));
87 *** Testing base64_decode() : usage variations ***
119 Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(%d)
123 Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(%d)
127 Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(%d)
131 Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(%d)
135 Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(%d)
[all …]
H A Dbug52327.phpt2 Bug #52327 (base64_decode() improper handling of leading padding)
6base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by…
7base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by…
H A Dbug55273.phpt2 Bug #55273 (base64_decode() with strict rejects whitespace after pad)
7 $r = base64_decode($v, True);
/PHP-5.3/ext/mbstring/tests/
H A Dmb_stripos_basic.phpt49 $greek_lower = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
50 $greek_upper = base64_decode('zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p');
51 $greek_mixed = base64_decode('zrHOss6TzpTOlc6WzpfOmM65zrrOu868zr3Ovs6fzqDOoc6jzqTOpc+Gz4fPiM+J');
54 $greek_nlower = base64_decode('zrzOvc6+zr8=');
55 $greek_nupper = base64_decode('zpzOnc6ezp8=');
56 $greek_nmixed1 = base64_decode('zpzOnc6+zr8=');
57 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
59 $greek_blower = base64_decode('zpzOns6f');
60 $greek_bupper = base64_decode('zrzOvs6/');
61 $greek_bmixed1 = base64_decode('zpzOvs6/');
[all …]
H A Dmb_strripos_basic.phpt49 $greek_lower = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
50 $greek_upper = base64_decode('zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p');
51 $greek_mixed = base64_decode('zrHOss6TzpTOlc6WzpfOmM65zrrOu868zr3Ovs6fzqDOoc6jzqTOpc+Gz4fPiM+J');
54 $greek_nlower = base64_decode('zrzOvc6+zr8=');
55 $greek_nupper = base64_decode('zpzOnc6ezp8=');
56 $greek_nmixed1 = base64_decode('zpzOnc6+zr8=');
57 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
59 $greek_blower = base64_decode('zpzOns6f');
60 $greek_bupper = base64_decode('zrzOvs6/');
61 $greek_bmixed1 = base64_decode('zpzOvs6/');
[all …]
H A Dmb_stripos_basic2.phpt40 $greek_lower = base64_decode('zrrOu868zr3Ovs6/z4DPgSDOus67zrzOvc6+zr/PgA==');
41 $greek_upper = base64_decode('zprOm86czp3Ons6fzqDOoSDOms6bzpzOnc6ezp/OoA==');
42 $greek_mixed = base64_decode('zrrOu868zr3Ovs6fzqDOoSDOus67zpzOnc6+zr/OoA==');
45 $greek_nlower = base64_decode('zrzOvc6+zr8=');
46 $greek_nupper = base64_decode('zpzOnc6ezp8=');
47 $greek_nmixed1 = base64_decode('zpzOnc6+zr8=');
48 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
H A Dmb_strripos_basic2.phpt40 $greek_lower = base64_decode('zrrOu868zr3Ovs6/z4DPgSDOus67zrzOvc6+zr/PgA==');
41 $greek_upper = base64_decode('zprOm86czp3Ons6fzqDOoSDOms6bzpzOnc6ezp/OoA==');
42 $greek_mixed = base64_decode('zrrOu868zr3Ovs6fzqDOoSDOus67zpzOnc6+zr/OoA==');
45 $greek_nlower = base64_decode('zrzOvc6+zr8=');
46 $greek_nupper = base64_decode('zpzOnc6ezp8=');
47 $greek_nmixed1 = base64_decode('zpzOnc6+zr8=');
48 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
H A Dmb_strtolower_variation4.phpt22 …'Characters With Accents' => base64_decode('w4DDgcOCw4PDhMOFw4bDh8OIw4nDisOLw4zDjcOOw4/DkMORw5LDk8…
23 'Russian' => base64_decode('0JDQkdCS0JPQlNCV0JbQlw=='));
25 …'Characters With Accents' => base64_decode('w6DDocOiw6PDpMOlw6bDp8Oow6nDqsOrw6zDrcOuw6/DsMOxw7LDs8…
26 'Russian' => base64_decode('0LDQsdCy0LPQtNC10LbQtw=='));
H A Dmb_strtoupper_variation4.phpt23 …'Characters With Accents' => base64_decode('w4DDgcOCw4PDhMOFw4bDh8OIw4nDisOLw4zDjcOOw4/DkMORw5LDk8…
24 'Russian' => base64_decode('0JDQkdCS0JPQlNCV0JbQlw=='));
26 …'Characters With Accents' => base64_decode('w6DDocOiw6PDpMOlw6bDp8Oow6nDqsOrw6zDrcOuw6/DsMOxw7LDs8…
27 'Russian' => base64_decode('0LDQsdCy0LPQtNC10LbQtw=='));
H A Dmb_stristr_basic.phpt26 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
27 $needle_mb_upper = base64_decode('zpzOnc6ezp8=');
28 $needle_mb_lower = base64_decode('zrzOvc6+zr8=');
29 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
47 $needle2 = base64_decode("zrzOvs6/");
H A Dmb_strrichr_basic.phpt26 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
27 $needle_mb_upper = base64_decode('zpzOnc6ezp8=');
28 $needle_mb_lower = base64_decode('zrzOvc6+zr8=');
29 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
47 $needle2 = base64_decode('zrzOvs6/');
H A Dmb_substr_count_basic.phpt23 $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII…
24 $needle_mb1 = base64_decode('44CC');
25 $needle_mb2 = base64_decode('44GT44KT44Gr44Gh44Gv44CB5LiW55WM');
H A Dmb_strstr_variation6.phpt27 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
28 $needle_mb_upper = base64_decode('zpzOnc6ezp8=');
29 $needle_mb_lower = base64_decode('zrzOvc6+zr8=');
30 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
H A Dmb_strrchr_variation6.phpt27 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J');
28 $needle_mb_upper = base64_decode('zpzOnc6ezp8=');
29 $needle_mb_lower = base64_decode('zrzOvc6+zr8=');
30 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
H A Dmb_strpos_basic.phpt25 $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII…
34 $needle1 = base64_decode('5pel5pys6Kqe');
38 $needle2 = base64_decode("44GT44KT44Gr44Gh44Gv44CB5LiW55WM");
H A Dmb_strrpos_basic.phpt25 $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII…
34 $needle1 = base64_decode('44CC');
38 $needle2 = base64_decode('44GT44KT44Gr44Gh44Gv44CB5LiW55WM');
/PHP-5.3/ext/standard/tests/strings/
H A Dbug34214.phpt2 Bug #34214 (base64_decode() does not properly ignore whitespace)
7 echo base64_decode($txt), "\n";
H A Dbug37244.phpt2 Bug #37244 (base64_decode violates RFC 3548)
11 var_dump(base64_decode($string, true));
H A Dbug24312.phpt2 Bug #24208 (base64_decode() not skipping 0xF0 - 0xFF)
8 var_dump(base64_decode($enc));
/PHP-5.3/ext/iconv/tests/
H A Diconv_strrpos_basic.phpt25 $string_mb = base64_decode(b'5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgI…
34 $needle1 = base64_decode(b'44CC');
38 $needle2 = base64_decode(b'44GT44KT44Gr44Gh44Gv44CB5LiW55WM');

Completed in 38 milliseconds

1234