← All docs

stream_wrapper_restore()

Restores a previously unregistered built-in wrapper.

stream_wrapper_restore()

function stream_wrapper_restore(string $protocol): bool

Restores a previously unregistered built-in wrapper.

Parameters:

  • $protocol (string)

Returns: bool

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stream_wrapper_restore is implemented in the compiler, see the internals page.