(PHP 4, PHP 5, PHP 7)
Directory クラスのインスタンスを作るには dir() 関数を使います。new 演算子は使いません。
Directory {
/* プロパティ */
public string $path
$path
public resource $handle
$handle
/* メソッド */
public close ([ resource $dir_handle ] ) : void
$dir_handle
public read ([ resource $dir_handle ] ) : string
public rewind ([ resource $dir_handle ] ) : void
}
path
handle
/* プロパティ */