mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Fix parameter type and use the true entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@118170 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8a238b09cd
commit
48b5d7d8ad
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue