SplFileObject
PHP Manual

SplFileObject::hasChildren

(PHP 5 >= 5.1.2, PHP 7)

SplFileObject::hasChildrenSplFileObject does not have children

说明

public bool SplFileObject::hasChildren ( void )

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

参数

此函数没有参数。

返回值

Returns FALSE

参见


SplFileObject
PHP Manual