
Druckansicht von http://www.php-homepage.de/manual/function.stream-get-wrappers.php
stream_get_wrappers(PHP 5) stream_get_wrappers — Retrieve list of registered streams Beschreibung
array stream_get_wrappers
( void
)
Retrieve list of registered streams available on the running system. RückgabewerteReturns an indexed array containing the name of all stream wrappers available on the running system. Beispiele
Beispiel #1 stream_get_wrappers() example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
Array
(
[0] => php
[1] => file
[2] => http
[3] => ftp
[4] => compress.bzip2
[5] => compress.zlib
)
Beispiel #2 Checking for the existence of a stream wrapper
<?phpSiehe auch
|