php8.5
Home/ Manual/ stream / functions/ stream_wrapper_unregister

stream_wrapper_unregister

PHP function Edit on GitHub ✎

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

Unregister a URL wrapper

Description

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

Success

Source: reference/stream/functions/stream-wrapper-unregister.xml · from the official PHP manual (php/doc-en)