Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stream_wrapper_restoreSwoole>
^Stream FunctionsLast updated: Mon, 26 Oct 2026

stream_wrapper_unregister

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

stream_wrapper_unregister — Unregister a URL wrapper

Description

function 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 using stream_wrapper_register() or re-enable it later on with stream_wrapper_restore().

Parameters

protocol

Return Values

Returns true on success or false on failure.


<stream_wrapper_restoreSwoole>
^Stream FunctionsLast updated: Mon, 26 Oct 2026