Name
rmdir
Synopsis
int rmdir(string path
)
Removes the directory path
. If the
directory is not empty or the PHP process does not have appropriate
permissions, or if any other error occurs, false
is returned. If the directory is successfully deleted,
true
is returned.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.