how to delete folder in php code example Example: php delete directory rmdir ( string $dirname , resource $context = ? ) : bool