SplFileObject
PHP Manual

SplFileObject::__toString

(PHP 5 >= 5.1.0, PHP 7)

SplFileObject::__toStringAlias of SplFileObject::current()

Description

public void SplFileObject::__toString ( void )

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


SplFileObject
PHP Manual