svn: /phpdoc/en/trunk/reference/stream/functions/ stream-get-contents.xml

From: Date: Thu, 14 Oct 2010 03:30:46 +0000
Subject: svn: /phpdoc/en/trunk/reference/stream/functions/ stream-get-contents.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7222@lists.php.net to get a copy of this message
cataphract Thu, 14 Oct 2010 03:30:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304385 Log: - Fixed default value for last parameter of stream_get_contents(). Changed paths: U phpdoc/en/trunk/reference/stream/functions/stream-get-contents.xml Modified: phpdoc/en/trunk/reference/stream/functions/stream-get-contents.xml =================================================================== --- phpdoc/en/trunk/reference/stream/functions/stream-get-contents.xml 2010-10-14 03:15:15 UTC (rev 304384) +++ phpdoc/en/trunk/reference/stream/functions/stream-get-contents.xml 2010-10-14 03:30:46 UTC (rev 304385) @@ -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>

« previous php.doc.cvs (#7222) next »