SplFileObject::current

SplFileObject::current

(PHP 5 >= 5.1.0, PHP 7)

SplFileObject::currentRetrieve current line of file

Description

public string|array SplFileObject::current ( void )

Retrieves the current line of the file.

Parameters

This function has no parameters.

Return Values

Retrieves the current line of the file. If the SplFileObject::READ_CSV登录查看完整内容