GoLang stream_wrapper_unregister

request it (120)
GoLang replacement for PHP's stream_wrapper_unregister [edit | history]



Do you know a GoLang replacement for PHP's stream_wrapper_unregister? Write it!

PHP stream_wrapper_unregister

PHP original manual for stream_wrapper_unregister [ show | php.net ]

stream_wrapper_unregister

(PHP 5 >= 5.1.0, PHP 7)

stream_wrapper_unregisterUnregister a URL wrapper

Description

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().

Parameters

protocol

Return Values

Returns TRUE on success or FALSE on failure.