php / 8.1.5 / function.stream-wrapper-restore.html /

stream_wrapper_restore

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

stream_wrapper_restoreRestores a previously unregistered built-in wrapper

Description

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.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stream-wrapper-restore.php