/php-src/ext/standard/tests/url/ |
H A D | base64_decode_basic_002.phpt | 7 var_dump(base64_decode($noWhiteSpace)); 8 var_dump(base64_decode($noWhiteSpace, false)); 9 var_dump(base64_decode($noWhiteSpace, true)); 14 var_dump(base64_decode($withWhiteSpace)); 20 var_dump(base64_decode($badChars)); 21 var_dump(base64_decode($badChars, false)); 22 var_dump(base64_decode($badChars, true)); 26 var_dump(base64_decode($noWhiteSpace)); 31 var_dump(base64_decode($withWhiteSpace)); 35 var_dump(base64_decode($badChars)); [all …]
|
H A D | base64_loop_001.phpt | 2 Test base64_encode() and base64_decode() function : loop mode 6 * Test base64_encode/base64_decode with loop mode. 9 echo "*** Testing base64_encode() and base64_decode(): loop mode ***\n"; 19 $str_dec = base64_decode($str_enc); 33 *** Testing base64_encode() and base64_decode(): loop mode ***
|
H A D | bug47174.phpt | 2 Bug #47174 (base64_decode() interprets pad char in mid string as terminator) 5 if (base64_decode("dGVzdA==") == base64_decode("dGVzdA==CRAP")) { 12 var_dump($in, base64_decode($in));
|
H A D | base64_decode_basic_001.phpt | 2 Test base64_decode() function : basic functionality - ensure all base64 alphabet is supported. 7 var_dump(bin2hex(base64_decode($allbase64))); 8 var_dump(bin2hex(base64_decode($allbase64, false))); 9 var_dump(bin2hex(base64_decode($allbase64, true)));
|
H A D | bug52327.phpt | 2 Bug #52327 (base64_decode() improper handling of leading padding) 6 …base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by… 7 …base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by…
|
/php-src/ext/standard/tests/strings/ |
H A D | bug72263.phpt | 2 Bug #72263 (base64_decode skips a character after padding in strict mode) 5 var_dump(base64_decode("*", true)); 6 var_dump(base64_decode("=*", true)); 7 var_dump(base64_decode("VVV=", true)); 8 var_dump(base64_decode("VVV=*", true));
|
H A D | bug72152.phpt | 2 Bug #72152 (base64_decode $strict fails to detect null byte) 5 var_dump(base64_decode("\x00", true)); 6 var_dump(base64_decode("\x00VVVV", true)); 7 var_dump(base64_decode("VVVV\x00", true));
|
H A D | bug72264.phpt | 2 Bug #72264 (base64_decode $strict fails with whitespace between padding) 5 var_dump(base64_decode("VV= =", true));
|
H A D | bug34214.phpt | 2 Bug #34214 (base64_decode() does not properly ignore whitespace) 7 echo base64_decode($txt), "\n";
|
/php-src/ext/mbstring/tests/ |
H A D | mb_stripos_basic.phpt | 40 $greek_lower = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 41 $greek_upper = base64_decode('zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p'); 42 $greek_mixed = base64_decode('zrHOss6TzpTOlc6WzpfOmM65zrrOu868zr3Ovs6fzqDOoc6jzqTOpc+Gz4fPiM+J'); 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='); 50 $greek_blower = base64_decode('zpzOns6f'); 51 $greek_bupper = base64_decode('zrzOvs6/'); 52 $greek_bmixed1 = base64_decode('zpzOvs6/'); [all …]
|
H A D | mb_strripos_basic.phpt | 40 $greek_lower = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 41 $greek_upper = base64_decode('zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p'); 42 $greek_mixed = base64_decode('zrHOss6TzpTOlc6WzpfOmM65zrrOu868zr3Ovs6fzqDOoc6jzqTOpc+Gz4fPiM+J'); 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='); 50 $greek_blower = base64_decode('zpzOns6f'); 51 $greek_bupper = base64_decode('zrzOvs6/'); 52 $greek_bmixed1 = base64_decode('zpzOvs6/'); [all …]
|
H A D | base64_encoding.phpt | 34 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 36 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 38 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 40 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 42 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 44 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 46 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 48 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s 50 …coding(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in %s
|
H A D | mb_stripos_basic2.phpt | 31 $greek_lower = base64_decode('zrrOu868zr3Ovs6/z4DPgSDOus67zrzOvc6+zr/PgA=='); 32 $greek_upper = base64_decode('zprOm86czp3Ons6fzqDOoSDOms6bzpzOnc6ezp/OoA=='); 33 $greek_mixed = base64_decode('zrrOu868zr3Ovs6fzqDOoSDOus67zpzOnc6+zr/OoA=='); 36 $greek_nlower = base64_decode('zrzOvc6+zr8='); 37 $greek_nupper = base64_decode('zpzOnc6ezp8='); 38 $greek_nmixed1 = base64_decode('zpzOnc6+zr8='); 39 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
|
H A D | mb_strripos_basic2.phpt | 31 $greek_lower = base64_decode('zrrOu868zr3Ovs6/z4DPgSDOus67zrzOvc6+zr/PgA=='); 32 $greek_upper = base64_decode('zprOm86czp3Ons6fzqDOoSDOms6bzpzOnc6ezp/OoA=='); 33 $greek_mixed = base64_decode('zrrOu868zr3Ovs6fzqDOoSDOus67zpzOnc6+zr/OoA=='); 36 $greek_nlower = base64_decode('zrzOvc6+zr8='); 37 $greek_nupper = base64_decode('zpzOnc6ezp8='); 38 $greek_nmixed1 = base64_decode('zpzOnc6+zr8='); 39 $greek_nmixed2 = base64_decode('zrzOvc6+zp8=');
|
H A D | mb_stristr_basic.phpt | 17 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 18 $needle_mb_upper = base64_decode('zpzOnc6ezp8='); 19 $needle_mb_lower = base64_decode('zrzOvc6+zr8='); 20 $needle_mb_mixed = base64_decode('zpzOnc6+zr8='); 38 $needle2 = base64_decode("zrzOvs6/");
|
H A D | mb_strrichr_basic.phpt | 17 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 18 $needle_mb_upper = base64_decode('zpzOnc6ezp8='); 19 $needle_mb_lower = base64_decode('zrzOvc6+zr8='); 20 $needle_mb_mixed = base64_decode('zpzOnc6+zr8='); 38 $needle2 = base64_decode('zrzOvs6/');
|
H A D | mb_strtolower_variation4.phpt | 14 …'Characters With Accents' => base64_decode('w4DDgcOCw4PDhMOFw4bDh8OIw4nDisOLw4zDjcOOw4/DkMORw5LDk8… 15 'Russian' => base64_decode('0JDQkdCS0JPQlNCV0JbQlw==')); 17 …'Characters With Accents' => base64_decode('w6DDocOiw6PDpMOlw6bDp8Oow6nDqsOrw6zDrcOuw6/DsMOxw7LDs8… 18 'Russian' => base64_decode('0LDQsdCy0LPQtNC10LbQtw=='));
|
H A D | mb_strtoupper_variation4.phpt | 15 …'Characters With Accents' => base64_decode('w4DDgcOCw4PDhMOFw4bDh8OIw4nDisOLw4zDjcOOw4/DkMORw5LDk8… 16 'Russian' => base64_decode('0JDQkdCS0JPQlNCV0JbQlw==')); 18 …'Characters With Accents' => base64_decode('w6DDocOiw6PDpMOlw6bDp8Oow6nDqsOrw6zDrcOuw6/DsMOxw7LDs8… 19 'Russian' => base64_decode('0LDQsdCy0LPQtNC10LbQtw=='));
|
H A D | mb_convert_encoding_array.phpt | 14 $sjis_string[] = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); 15 $sjis_string[] = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); 16 $jis_string[] = base64_decode('GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg==… 17 $jis_string[] = base64_decode('GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg==… 18 $euc_jp_string[] = base64_decode('xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=='); 19 $euc_jp_string[] = base64_decode('xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=='); 20 $utf8_string[] = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJn… 21 $utf8_string[] = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJn…
|
H A D | mb_substr_count_basic.phpt | 15 $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII… 16 $needle_mb1 = base64_decode('44CC'); 17 $needle_mb2 = base64_decode('44GT44KT44Gr44Gh44Gv44CB5LiW55WM');
|
H A D | mb_strrchr_variation6.phpt | 18 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 19 $needle_mb_upper = base64_decode('zpzOnc6ezp8='); 20 $needle_mb_lower = base64_decode('zrzOvc6+zr8='); 21 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
|
H A D | mb_strstr_variation6.phpt | 18 $string_mb = base64_decode('zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J'); 19 $needle_mb_upper = base64_decode('zpzOnc6ezp8='); 20 $needle_mb_lower = base64_decode('zrzOvc6+zr8='); 21 $needle_mb_mixed = base64_decode('zpzOnc6+zr8=');
|
H A D | mb_strpos_basic.phpt | 17 $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII… 26 $needle1 = base64_decode('5pel5pys6Kqe'); 30 $needle2 = base64_decode("44GT44KT44Gr44Gh44Gv44CB5LiW55WM");
|
/php-src/ext/openssl/tests/ |
H A D | bug73478.phpt | 8 …'p' => base64_decode('3Pk6C4g5cuwOGZiaxaLOMQ4dN3F+jZVxu3Yjcxhm5h73Wi4niYsFf5iRwuJ6Y5w/KbYIFFgc07LK… 9 'g' => base64_decode('Ag=='), 10 …'priv_key' => base64_decode('jUdcV++P/m7oUodWiqKqKXZVenHRuj92Ig6Fmzs7QlqVdUc5mNBxmEWjug+ObffanPpOe…
|
/php-src/ext/gd/tests/ |
H A D | bug66005.phpt | 20 $png_palette = imagecreatefromstring(base64_decode('iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAA… 23 $png_24 = imagecreatefromstring(base64_decode('iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABnRS… 26 $png_full = imagecreatefromstring(base64_decode('iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAXk…
|