SplFileObject::__toString

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

SplFileObject::__toStringAlias of SplFileObject::fgets()

Description

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

Changelog

Version Description
7.2.19, 7.3.6 Changed from an alias of SplFileObject::current() to an alias of SplFileObject::fgets().