在线文档教程
PHP
SPL/File

SplFileObject::__toString

SplFileObject::__toString

(PHP 5 >= 5.1.0, PHP 7)

SplFileObject::__toString — Alias of SplFileObject::current()

Description

public void SplFileObject::__toString ( void )

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

← SplFileObject::setMaxLineLen

SplFileObject::valid →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/splfileobject.tostring.php