CakeFest 2024: The Official CakePHP Conference

stream_wrapper_unregister

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

stream_wrapper_unregisterURL ラッパーの登録を解除する

説明

stream_wrapper_unregister(string $protocol): bool

すでに定義されているストリームラッパーを無効にします。ラッパーが無効になった後は、 stream_wrapper_register() を使用してユーザー定義の ラッパーで上書きしたり stream_wrapper_restore() で再度使用可能にしたりすることが可能となります。

パラメータ

protocol

戻り値

成功した場合に true を、失敗した場合に false を返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top