From 24b526c3d4ade71ca75706a2e19f43cbaf3199ea Mon Sep 17 00:00:00 2001 From: Dave Barr Date: Wed, 8 Sep 2004 00:00:54 +0000 Subject: [PATCH] - Add TWO examples. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168162 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../stream/functions/stream-get-wrappers.xml | 45 ++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/reference/stream/functions/stream-get-wrappers.xml b/reference/stream/functions/stream-get-wrappers.xml index dfe3a8eafa..9b087442e1 100644 --- a/reference/stream/functions/stream-get-wrappers.xml +++ b/reference/stream/functions/stream-get-wrappers.xml @@ -1,5 +1,5 @@ - + stream_get_wrappers @@ -15,6 +15,49 @@ Returns an indexed array containing the name of all stream wrappers available on the running system. + + + <function>stream_get_wrappers</function> example + + +]]> + + &example.outputs.similar; + + php + [1] => file + [2] => http + [3] => ftp + [4] => compress.bzip2 + [5] => compress.zlib +) +]]> + + + + + + Checking for the existence of a stream wrapper + + +]]> + + + See also stream_wrapper_register.