Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
standard /
tests /
url /
Delete
Unzip
Name
Size
Permission
Date
Action
base64_decode_basic_001.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
base64_decode_basic_002.phpt
1.5
KB
-rw-rw-r--
2022-10-31 11:36
base64_decode_basic_003.phpt
5.6
KB
-rw-rw-r--
2022-10-31 11:36
base64_encode_basic_001.phpt
3.3
KB
-rw-rw-r--
2022-10-31 11:36
base64_encode_basic_002.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
bug47174.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
bug52327.phpt
409
B
-rw-rw-r--
2022-10-31 11:36
bug53248.phpt
208
B
-rw-rw-r--
2022-10-31 11:36
bug54180.phpt
650
B
-rw-rw-r--
2022-10-31 11:36
bug55273.phpt
355
B
-rw-rw-r--
2022-10-31 11:36
bug55399.phpt
142
B
-rw-rw-r--
2022-10-31 11:36
bug63162.phpt
642
B
-rw-rw-r--
2022-10-31 11:36
bug68917.phpt
394
B
-rw-rw-r--
2022-10-31 11:36
bug69976.phpt
634
B
-rw-rw-r--
2022-10-31 11:36
bug73192.phpt
509
B
-rw-rw-r--
2022-10-31 11:36
bug74780.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
get_headers_error_003.phpt
640
B
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_001.phpt
15.54
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_002.phpt
5.71
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_003.phpt
5.94
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_004.phpt
4.98
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_005.phpt
5.03
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_006.phpt
4.98
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_007.phpt
6.27
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_008.phpt
5.46
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_009.phpt
5.1
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_basic_010.phpt
666
B
-rw-rw-r--
2022-10-31 11:36
parse_url_error_002.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
parse_url_relative_scheme.phpt
204
B
-rw-rw-r--
2022-10-31 11:36
parse_url_unterminated.phpt
15.53
KB
-rw-rw-r--
2022-10-31 11:36
urls.inc
3.27
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test base64_decode() function : basic functionality - strict vs non-strict with non-base64 chars. --FILE-- <?php /* Prototype : proto string base64_decode(string str[, bool strict]) * Description: Decodes string using MIME base64 algorithm * Source code: ext/standard/base64.c * Alias to functions: */ echo "Decode 'hello world!':\n"; $noWhiteSpace = "aGVsbG8gd29ybGQh"; var_dump(base64_decode($noWhiteSpace)); var_dump(base64_decode($noWhiteSpace, false)); var_dump(base64_decode($noWhiteSpace, true)); echo "\nWhitespace does not affect base64_decode, even with \$strict===true:\n"; $withWhiteSpace = "a GVs bG8gd2 9ybGQh"; var_dump(base64_decode($withWhiteSpace)); var_dump(base64_decode($withWhiteSpace, false)); var_dump(base64_decode($withWhiteSpace, true)); echo "\nOther chars outside the base64 alphabet are ignored when \$strict===false, but cause failure with \$strict===true:\n"; $badChars = $noWhiteSpace . '*'; var_dump(base64_decode($badChars)); var_dump(base64_decode($badChars, false)); var_dump(base64_decode($badChars, true)); echo "Done"; ?> --EXPECT-- Decode 'hello world!': string(12) "hello world!" string(12) "hello world!" string(12) "hello world!" Whitespace does not affect base64_decode, even with $strict===true: string(12) "hello world!" string(12) "hello world!" string(12) "hello world!" Other chars outside the base64 alphabet are ignored when $strict===false, but cause failure with $strict===true: string(12) "hello world!" string(12) "hello world!" bool(false) Done