stream_wrapper_unregister()
(PHP 5 >= 5.1.0, PHP 7)
Unregister a URL wrapper
说明
stream_wrapper_unregister(string $protocol): bool
Allows you to disable an already defined stream wrapper. Once the wrapper has been disabled you may override it with a user-defined wrapper usingstream_wrapper_register()or reenable it later on withstream_wrapper_restore().
参数
- $protocol
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。