stream_get_wrappers

PHP 5, PHP 7, PHP 8
stream_get_wrappers - Retrieve list of registered streams
Manual
Code Examples

Example #1 stream_get_wrappers example

Result: Array ( [0] => php [1] => file [2] => http [3] => ftp [4] => compress.bzip2 [5] => compress.zlib )
PHP Version:

Example #2 Checking for the existence of a stream wrapper

PHP Version:


Function stream_get_wrappers:

Streams Functions

Most used PHP functions