CakeFest 2024: The Official CakePHP Conference

Directory::rewind

(PHP 4, PHP 5, PHP 7, PHP 8)

Directory::rewindディレクトリハンドルを元に戻す

説明

public Directory::rewind(): void

変更履歴

バージョン 説明
8.0.0 引数を取らなくなりました。 これより前のバージョンでは、 ディレクトリハンドルを引数に渡すことができました。
add a note

User Contributed Notes 1 note

up
2
cjcxxh at 163 dot com
1 year ago
use this method and then if you try to use read (), you will start from the 1st item in the directory object
To Top