GlobIterator
PHP Manual

GlobIterator::count

(PHP 5 >= 5.3.0)

GlobIterator::countGet the number of directories and files

Description

public integer GlobIterator::count ( void )

Gets the number of directories and files found by the glob expression.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

The number of returned directories and files, as an integer.


GlobIterator
PHP Manual