在线文档教程
PHP
SPL/File

SplFileObject::hasChildren

SplFileObject::hasChildren

(PHP 5 >= 5.1.2, PHP 7)

SplFileObject::hasChildren — SplFileObject does not have children

Description

public bool SplFileObject::hasChildren ( void )

An SplFileObject does not have children so this method always return FALSE.

Parameters

This function has no parameters.

Return Values

Returns FALSE

See Also

  • RecursiveIterator::hasChildren() - Returns if an iterator can be created for the current entry

← SplFileObject::getMaxLineLen

SplFileObject::key →

© 1997–2017 The PHP Documentation Group

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

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