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_strpos() function : usage variations - Pass different integers as $offset argument --SKIPIF-- <?php extension_loaded('iconv') or die('skip'); function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build"); ?> --INI-- error_reporting=E_ALL & ~E_DEPRECATED --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ /* * Test how iconv_strpos() behaves when passed different integers as $offset argument * The character length of $string_ascii and $string_mb is the same, * and the needle appears at the same positions in both strings */ iconv_set_encoding("internal_encoding", "UTF-8"); echo "*** Testing iconv_strpos() : usage variations ***\n"; $string_ascii = '+Is an English string'; //21 chars $needle_ascii = 'g'; $string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII='); //21 chars $needle_mb = base64_decode('44CC'); /* * Loop through integers as multiples of ten for $offset argument * 60 is larger than *BYTE* count for $string_mb */ for ($i = -30; $i <= 60; $i += 10) { echo "\n**-- Offset is: $i --**\n"; echo "-- ASCII String --\n"; var_dump(iconv_strpos($string_ascii, $needle_ascii, $i)); echo "--Multibyte String --\n"; var_dump(iconv_strpos($string_mb, $needle_mb, $i, 'UTF-8')); } echo "Done"; ?> --EXPECTF-- *** Testing iconv_strpos() : usage variations *** **-- Offset is: -30 --** -- ASCII String -- Warning: iconv_strpos(): Offset not contained in string. in %s on line %d bool(false) --Multibyte String -- Warning: iconv_strpos(): Offset not contained in string. in %s on line %d bool(false) **-- Offset is: -20 --** -- ASCII String -- int(9) --Multibyte String -- int(9) **-- Offset is: -10 --** -- ASCII String -- int(20) --Multibyte String -- int(20) **-- Offset is: 0 --** -- ASCII String -- int(9) --Multibyte String -- int(9) **-- Offset is: 10 --** -- ASCII String -- int(20) --Multibyte String -- int(20) **-- Offset is: 20 --** -- ASCII String -- int(20) --Multibyte String -- int(20) **-- Offset is: 30 --** -- ASCII String -- bool(false) --Multibyte String -- bool(false) **-- Offset is: 40 --** -- ASCII String -- bool(false) --Multibyte String -- bool(false) **-- Offset is: 50 --** -- ASCII String -- bool(false) --Multibyte String -- bool(false) **-- Offset is: 60 --** -- ASCII String -- bool(false) --Multibyte String -- bool(false) Done