Stream 函数
PHP 手册

stream_wrapper_unregister

(PHP 5 >= 5.1.0)

stream_wrapper_unregisterUnregister a URL wrapper

说明

bool stream_wrapper_unregister ( string $protocol )

Allows you to disable an already defined stream wrapper. Once the wrapper has been disabled you may override it with a user-defined wrapper using stream_wrapper_register() or reenable it later on with stream_wrapper_restore().

参数

protocol

返回值

如果成功则返回 TRUE,失败则返回 FALSE


Stream 函数
PHP 手册