derick Wed Feb 26 04:53:46 2003 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions readfile.xml
Log:
- Fix parameter type and use the true entity
Index: phpdoc/en/reference/filesystem/functions/readfile.xml
diff -u phpdoc/en/reference/filesystem/functions/readfile.xml:1.3
phpdoc/en/reference/filesystem/functions/readfile.xml:1.4
--- phpdoc/en/reference/filesystem/functions/readfile.xml:1.3 Thu Sep 26 09:56:53
2002
+++ phpdoc/en/reference/filesystem/functions/readfile.xml Wed Feb 26 04:53:43
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.readfile">
<refnamediv>
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>int</type><methodname>readfile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam>
</methodsynopsis>
<para>
Reads a file and writes it to the output buffer.
@@ -19,11 +19,11 @@
<para>
Returns the number of bytes read from the file. If an error
occurs, &false; is returned and unless the function was called as
- @readfile, an error message is printed.
+ @<function>readfile</function>, an error message is printed.
</para>
&tip.fopen-wrapper;
<para>
- You can use the optional second parameter and set it to "1", if
+ You can use the optional second parameter and set it to &true;, if
you want to search for the file in the <link
linkend="ini.include-path">include_path</link>, too.
</para>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php