mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
29c6eb6cf5
Some error handling test changes, as changes to the $handle property are now detected earlier.
30 lines
528 B
PHP
Executable File
30 lines
528 B
PHP
Executable File
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
class Directory
|
|
{
|
|
public readonly string $path;
|
|
|
|
/** @var resource */
|
|
public readonly mixed $handle;
|
|
|
|
/**
|
|
* @tentative-return-type
|
|
* @implementation-alias closedir
|
|
*/
|
|
public function close(): void {}
|
|
|
|
/**
|
|
* @tentative-return-type
|
|
* @implementation-alias rewinddir
|
|
*/
|
|
public function rewind(): void {}
|
|
|
|
/**
|
|
* @tentative-return-type
|
|
* @implementation-alias readdir
|
|
*/
|
|
public function read(): string|false {}
|
|
}
|