php-src/ext/standard/dir.stub.php
Nikita Popov 59aa21c735 Don't accept dir handle in Directory methods
This is an artifact of the shared implementation with readdir() etc.
The method versions should not accept an explicit dir handle, as
they work on the dir handle from the object.
2020-09-29 14:50:40 +02:00

25 lines
387 B
PHP
Executable File

<?php
/** @generate-function-entries */
class Directory
{
/**
* @return void
* @implementation-alias closedir
*/
public function close() {}
/**
* @return void
* @implementation-alias rewinddir
*/
public function rewind() {}
/**
* @return string|false
* @implementation-alias readdir
*/
public function read() {}
}