Statement on glibc/iconv Vulnerability

Directory::read

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

Directory::readLê entrada de um manipulador de diretório

Descrição

public Directory::read(): string|false

Registro de Alterações

Versão Descrição
8.0.0 Nenhum parâmetro é aceito. Anteriormente, um manipulador de diretório poderia ser passado como argumento.
add a note

User Contributed Notes 1 note

up
0
cjcxxh at 163 dot com
1 year ago
use
while ($row=$dir->read()){
// your code
}
to get a list of all files and directories. You can definitely use the "for" and other loops.
To Top