PHP 8.3.0 RC 6 available for testing

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
1
cjcxxh at 163 dot com
8 months 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