W3cubDocs

/PHP

SplFileObject::__toString

(PHP 5 >= 5.1.0, PHP 7)

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().

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/splfileobject.tostring.php