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 /
iconv /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
Quotes.UTF-8.data
48
B
-rw-rw-r--
2022-10-31 11:36
bug37176.phpt
355
B
-rw-rw-r--
2022-10-31 11:36
bug37773.phpt
328
B
-rw-rw-r--
2022-10-31 11:36
bug48147.phpt
930
B
-rw-rw-r--
2022-10-31 11:36
bug48289.phpt
612
B
-rw-rw-r--
2022-10-31 11:36
bug51250.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
bug52211.phpt
348
B
-rw-rw-r--
2022-10-31 11:36
bug52941.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
bug53304.phpt
515
B
-rw-rw-r--
2022-10-31 11:36
bug53891.phpt
541
B
-rw-rw-r--
2022-10-31 11:36
bug55146.phpt
789
B
-rw-rw-r--
2022-10-31 11:36
bug60494.phpt
637
B
-rw-rw-r--
2022-10-31 11:36
bug63839.phpt
1.94
KB
-rw-rw-r--
2022-10-31 11:36
bug66828.phpt
579
B
-rw-rw-r--
2022-10-31 11:36
bug68180.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
bug69840.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
bug72320.phpt
297
B
-rw-rw-r--
2022-10-31 11:36
bug76249.phpt
677
B
-rw-rw-r--
2022-10-31 11:36
bug77147.phpt
589
B
-rw-rw-r--
2022-10-31 11:36
bug78069.data
107
B
-rw-rw-r--
2022-10-31 11:36
bug78069.phpt
336
B
-rw-rw-r--
2022-10-31 11:36
bug79200.phpt
499
B
-rw-rw-r--
2022-10-31 11:36
eucjp2iso2022jp.phpt
2.48
KB
-rw-rw-r--
2022-10-31 11:36
eucjp2sjis.phpt
2.62
KB
-rw-rw-r--
2022-10-31 11:36
eucjp2utf8.phpt
3.05
KB
-rw-rw-r--
2022-10-31 11:36
iconv-charset-length-cve-2007-4840.phpt
524
B
-rw-rw-r--
2022-10-31 11:36
iconv001.phpt
355
B
-rw-rw-r--
2022-10-31 11:36
iconv002.phpt
532
B
-rw-rw-r--
2022-10-31 11:36
iconv003.phpt
272
B
-rw-rw-r--
2022-10-31 11:36
iconv004.phpt
436
B
-rw-rw-r--
2022-10-31 11:36
iconv_basic.phpt
2.8
KB
-rw-rw-r--
2022-10-31 11:36
iconv_basic_001-win32.phpt
555
B
-rw-rw-r--
2022-10-31 11:36
iconv_basic_001.phpt
690
B
-rw-rw-r--
2022-10-31 11:36
iconv_default_charset.phpt
1.76
KB
-rw-rw-r--
2022-10-31 11:36
iconv_encoding_basic.phpt
2.56
KB
-rw-rw-r--
2022-10-31 11:36
iconv_get_encoding_basic.phpt
1.99
KB
-rw-rw-r--
2022-10-31 11:36
iconv_ini_encoding.phpt
1.69
KB
-rw-rw-r--
2022-10-31 11:36
iconv_mime_decode-charset-length-cve-2007-4840.phpt
406
B
-rw-rw-r--
2022-10-31 11:36
iconv_mime_decode.phpt
2.97
KB
-rw-rw-r--
2022-10-31 11:36
iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt
430
B
-rw-rw-r--
2022-10-31 11:36
iconv_mime_decode_headers.phpt
3.17
KB
-rw-rw-r--
2022-10-31 11:36
iconv_mime_encode.phpt
12.51
KB
-rw-rw-r--
2022-10-31 11:36
iconv_set_encoding-charset-length-cve-2007-4840.phpt
786
B
-rw-rw-r--
2022-10-31 11:36
iconv_stream_filter.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
iconv_stream_filter.txt
22
B
-rw-rw-r--
2022-10-31 11:36
iconv_stream_filter_delimiter.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strlen-charset-length-cve-2007-4840.phpt
383
B
-rw-rw-r--
2022-10-31 11:36
iconv_strlen.phpt
331
B
-rw-rw-r--
2022-10-31 11:36
iconv_strlen_basic.phpt
958
B
-rw-rw-r--
2022-10-31 11:36
iconv_strlen_error2.phpt
826
B
-rw-rw-r--
2022-10-31 11:36
iconv_strpos-charset-length-cve-2007-4840.phpt
393
B
-rw-rw-r--
2022-10-31 11:36
iconv_strpos.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strpos_basic.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strpos_error2.phpt
974
B
-rw-rw-r--
2022-10-31 11:36
iconv_strpos_variation5.phpt
2.51
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strrpos-charset-length-cve-2007-4840.phpt
393
B
-rw-rw-r--
2022-10-31 11:36
iconv_strrpos.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strrpos_basic.phpt
1.46
KB
-rw-rw-r--
2022-10-31 11:36
iconv_strrpos_error2.phpt
981
B
-rw-rw-r--
2022-10-31 11:36
iconv_substr-charset-length-cve-2007-4783.phpt
419
B
-rw-rw-r--
2022-10-31 11:36
iconv_substr.phpt
1.4
KB
-rw-rw-r--
2022-10-31 11:36
iconv_substr_basic.phpt
1.5
KB
-rw-rw-r--
2022-10-31 11:36
iconv_substr_error2.phpt
914
B
-rw-rw-r--
2022-10-31 11:36
ob_iconv_handler-charset-length-cve-2007-4840.phpt
335
B
-rw-rw-r--
2022-10-31 11:36
ob_iconv_handler.phpt
309
B
-rw-rw-r--
2022-10-31 11:36
skipif.inc
94
B
-rw-rw-r--
2022-10-31 11:36
translit-failure.phpt
743
B
-rw-rw-r--
2022-10-31 11:36
translit-utf8.phpt
453
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test iconv() function : basic functionality --SKIPIF-- <?php extension_loaded('iconv') or die('skip'); function_exists('iconv') or die("skip iconv() is not available in this build"); ?> --FILE-- <?php /* Prototype : string iconv(string in_charset, string out_charset, string str) * Description: Returns converted string in desired encoding * Source code: ext/iconv/iconv.c */ /* * Test basic functionality of iconv() */ echo "*** Testing iconv() : basic functionality ***\n"; //All strings are the same when displayed in their respective encodings $sjis_string = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); $euc_jp_string = base64_decode('xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=='); $utf8_string = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII='); echo "\n-- Convert to EUC-JP --\n"; echo "Expected EUC-JP encoded string in base64:\n"; var_dump(bin2hex($euc_jp_string)); echo "Converted Strings:\n"; var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string ))); var_dump(bin2hex(iconv('UTF-8', 'EUC-JP', $utf8_string))); echo "\n-- Convert to SJIS --\n"; echo "Expected SJIS encoded string in base64:\n"; var_dump(bin2hex($sjis_string)); echo "Converted Strings:\n"; var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string))); var_dump(bin2hex(iconv('UTF-8', 'SJIS', $utf8_string))); echo "\n-- Convert to UTF-8 --\n"; echo "Expected UTF-8 encoded string in base64:\n"; var_dump(bin2hex($utf8_string)); echo "Converted Strings:\n"; var_dump(bin2hex(iconv('SJIS', 'UTF-8', $sjis_string))); var_dump(bin2hex(iconv('EUC-JP', 'UTF-8', $euc_jp_string))); echo "Done"; ?> --EXPECT-- *** Testing iconv() : basic functionality *** -- Convert to EUC-JP -- Expected EUC-JP encoded string in base64: string(74) "c6fccbdcb8eca5c6a5ada5b9a5c8a4c7a4b9a1a33031323334a3b5a3b6a3b7a3b8a3b9a1a3" Converted Strings: string(74) "c6fccbdcb8eca5c6a5ada5b9a5c8a4c7a4b9a1a33031323334a3b5a3b6a3b7a3b8a3b9a1a3" string(74) "c6fccbdcb8eca5c6a5ada5b9a5c8a4c7a4b9a1a33031323334a3b5a3b6a3b7a3b8a3b9a1a3" -- Convert to SJIS -- Expected SJIS encoded string in base64: string(74) "93fa967b8cea8365834c8358836782c582b781423031323334825482558256825782588142" Converted Strings: string(74) "93fa967b8cea8365834c8358836782c582b781423031323334825482558256825782588142" string(74) "93fa967b8cea8365834c8358836782c582b781423031323334825482558256825782588142" -- Convert to UTF-8 -- Expected UTF-8 encoded string in base64: string(106) "e697a5e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" Converted Strings: string(106) "e697a5e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" string(106) "e697a5e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" Done