streamWrapper::rmdir

(PHP 5, PHP 7)

streamWrapper::rmdirRemoves a directory

˵��

public streamWrapper::rmdir ( string $path , int $options ) : bool

This method is called in response to rmdir().

Note:

In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support removing directories.

����

path

The directory URL which should be removed.

options

A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�����쳣

���ô˷���ʧ�ܽ����� E_WARNING��δʵ�֣���

ע��

Note:

���Ϸ��������Ĵ��ݸ����ú���ʱ������ streamWrapper::$context �ᱻ�ı䡣

�μ�