(no version information, might be only in CVS) php_unregister_url_stream_wrapper() unregisters the wrapper associated with protocol.