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_registerstream_wrapper_unregister>
^Stream FunctionsLast updated: Mon, 26 Oct 2026

stream_wrapper_restore

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

stream_wrapper_restore — Restores a previously unregistered built-in wrapper

Description

function stream_wrapper_restore(string $protocol): bool

Restores a built-in wrapper previously unregistered with stream_wrapper_unregister().

Parameters

protocol

Return Values

Returns true on success or false on failure.


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