PEAR_Common::mkDirHier()

PEAR_Common::mkDirHier() -- Create a directory and necessary parent directories

Synopsis

require_once 'common.php';

bool PEAR_Common::mkDirHier (string $dir)

Description

Wrapper to System::mkDir(), creates a directory as well as any necessary parent directories.

Parameter

string $dir

directory name

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Throws

Table 20-1. Possible PEAR_Error values

Error codeError valueMeaningSolution
 ""  

Note

This function can not be called statically.