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.41
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 /
directory /
Delete
Unzip
Name
Size
Permission
Date
Action
DirectoryClass_basic_001.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
DirectoryClass_error_001-mb.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
DirectoryClass_error_001.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
bug74589_utf8.phpt
997
B
-rw-rw-r--
2022-10-31 11:36
directory_constants-win32.phpt
297
B
-rw-rw-r--
2022-10-31 11:36
directory_constants.phpt
302
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Directory class behaviour. --FILE-- <?php $d = getcwd().PATH_SEPARATOR."私はガラスを食べられます"; mkdir($d); echo "\n--> Try all methods with bad handle:\n"; $d = new Directory($d); $d->handle = "Havoc!"; var_dump($d->read()); var_dump($d->rewind()); var_dump($d->close()); echo "\n--> Try all methods with no handle:\n"; $d = new Directory($d); unset($d->handle); var_dump($d->read()); var_dump($d->rewind()); var_dump($d->close()); echo "\n--> Try all methods with wrong number of args:\n"; $d = new Directory($d); var_dump($d->read(1,2)); var_dump($d->rewind(1,2)); var_dump($d->close(1,2)); ?> --CLEAN-- <?php $d = getcwd().PATH_SEPARATOR."私はガラスを食べられます"; rmdir($d); ?> --EXPECTF-- --> Try all methods with bad handle: Warning: Directory::read(): supplied argument is not a valid Directory resource in %s on line %d bool(false) Warning: Directory::rewind(): supplied argument is not a valid Directory resource in %s on line %d bool(false) Warning: Directory::close(): supplied argument is not a valid Directory resource in %s on line %d bool(false) --> Try all methods with no handle: Warning: Directory::read(): Unable to find my handle property in %s on line %d bool(false) Warning: Directory::rewind(): Unable to find my handle property in %s on line %d bool(false) Warning: Directory::close(): Unable to find my handle property in %s on line %d bool(false) --> Try all methods with wrong number of args: Warning: Directory::read() expects at most 1 parameter, 2 given in %s on line %d NULL Warning: Directory::rewind() expects at most 1 parameter, 2 given in %s on line %d NULL Warning: Directory::close() expects at most 1 parameter, 2 given in %s on line %d NULL