ssh2_sftp_rmdir

PECL ssh2 >= 0.9.0
ssh2_sftp_rmdir - Remove a directory
Manual
Code Examples

Example #1 Removing a directory on a remote server

PHP Version: