If the name contains slashes, a new directory structure will be created.
The returned directory will always be the parent directory of this
directory structure.
public static newDirectory ( string $name, integer $permissions = null ) : |
||
$name | string | name of directory to create |
$permissions | integer | permissions of directory to create |
return |