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

From: Date: Thu, 04 Nov 2010 12:09:37 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ file-get-contents.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7364@lists.php.net to get a copy of this message
vrana Thu, 04 Nov 2010 12:09:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305078 Log: Remove bogus initializer Changed paths: U phpdoc/en/trunk/reference/filesystem/functions/file-get-contents.xml Modified: phpdoc/en/trunk/reference/filesystem/functions/file-get-contents.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/file-get-contents.xml 2010-11-04 10:46:49 UTC (rev 305077) +++ phpdoc/en/trunk/reference/filesystem/functions/file-get-contents.xml 2010-11-04 12:09:37 UTC (rev 305078) @@ -14,7 +14,7 @@ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam> <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>-1</initializer></methodparam> - <methodparam choice="opt"><type>int</type><parameter>maxlen</parameter><initializer>-1</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>maxlen</parameter></methodparam> </methodsynopsis> <para> This function is similar to <function>file</function>, except that @@ -34,15 +34,6 @@ need to encode the URI with <function>urlencode</function>. </para> </note> - <note> - <para> - The default value of <parameter>maxlen</parameter> is not - actually <literal>-1</literal>; rather, it is an internal PHP - value which means to copy the entire stream until end-of-file is - reached. The only way to specify this default value is to leave it - out of the parameter list. - </para> - </note> </refsect1> <refsect1 role="parameters">

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