SplFileObject
PHP Manual

SplFileObject::getCurrentLine

(PHP 5 >= 5.1.2, PHP 7)

SplFileObject::getCurrentLineAlias of SplFileObject::fgets()

说明

This method is an alias of SplFileObject::fgets().


SplFileObject
PHP Manual