Name
rmdir
Synopsis
int rmdir(stringpath
[, resourcecontext
])
Removes the directory path
, using the
streams context context
if provided. 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, 3rd Edition 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.