- Fixed default value for last parameter of stream_get_contents().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304385 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gustavo André dos Santos Lopes 2010-10-14 03:30:46 +00:00
parent 4efe5aed3d
commit bb97cf56ee

View file

@ -11,7 +11,7 @@
<type>string</type><methodname>stream_get_contents</methodname>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>maxlength</parameter><initializer>-1</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>-1</initializer></methodparam>
</methodsynopsis>
<para>
Identical to <function>file_get_contents</function>, except that
@ -47,7 +47,8 @@
<term><parameter>offset</parameter> (<type>integer</type>)</term>
<listitem>
<para>
Seek to the specified offset before reading.
Seek to the specified offset before reading. If this number is negative,
no seeking will occur and reading will start from the current position.
</para>
</listitem>
</varlistentry>