pollita Sat Jan 4 18:14:54 2003 EDT Modified files: /phpdoc/en/reference/stream reference.xml Log: Replaced reference to phpinfo() with reference to stream_get_wrappers for list of registered streams. wrapped reference to file_get_contents with <function> to create link. Index: phpdoc/en/reference/stream/reference.xml diff -u phpdoc/en/reference/stream/reference.xml:1.3 phpdoc/en/reference/stream/reference.xml:1.4 --- phpdoc/en/reference/stream/reference.xml:1.3 Fri Jan 3 13:17:05 2003 +++ phpdoc/en/reference/stream/reference.xml Sat Jan 4 18:14:54 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <reference id="ref.stream"> <title>Stream functions</title> <titleabbrev>Streams</titleabbrev> @@ -94,8 +94,8 @@ As with any file or socket related function, an opperation on a stream may fail for a variety of normal reasons (i.e.: Unable to connect to remote host, file not found, etc...). A stream related call may also fail because - the desired stream is not registered on the running system. See the output of - <function>php_info</function> for a list of streams supported by your + the desired stream is not registered on the running system. See the array +returned + by <function>stream_get_wrappers</function> for a list of streams supported by +your installation of <literal>PHP</literal>. As with most PHP internal functions if a failure occours an <constant>E_WARNING</constant> message will be generated describing the nature of the error. @@ -106,7 +106,8 @@ &reftitle.examples; <para> <example> - <title>Using file_get_contents() to retrieve data from multiple sources</title> + <title>Using <function>file_get_contents</function> + to retrieve data from multiple sources</title> <programlisting role="php"> <![CDATA[ <?php
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php