is_empty

bool is_empty( string $path )

This is not a PHP filesystem function. It checks wether $path, a directory is empty or not.

Returns true if the directory is empty of a file, false otherwise.


Previous page: file