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.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110519 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sara Golemon 2003-01-04 23:14:54 +00:00
parent fe7fb78b5b
commit 3d61197e36

View file

@ -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