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 /
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 /* * Prototype: object dir(string directory[, resource context]) * Description: Directory class with properties, handle and class and methods read, rewind and close * Class is defined in ext/standard/dir.c */ echo "Structure of Directory class:\n"; $rc = new ReflectionClass("Directory"); echo $rc; echo "Cannot instantiate a valid Directory directly:\n"; $d = new Directory(getcwd()); var_dump($d); var_dump($d->read()); ?> --EXPECTF-- Structure of Directory class: Class [ <internal%s> class Directory ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [3] { Method [ <internal:standard> public method close ] { - Parameters [1] { Parameter #0 [ <optional> $dir_handle ] } } Method [ <internal:standard> public method rewind ] { - Parameters [1] { Parameter #0 [ <optional> $dir_handle ] } } Method [ <internal:standard> public method read ] { - Parameters [1] { Parameter #0 [ <optional> $dir_handle ] } } } } Cannot instantiate a valid Directory directly: object(Directory)#%d (0) { } Warning: Directory::read(): Unable to find my handle property in %s on line 15 bool(false)