svn: /phpdoc/en/trunk/reference/spl/ splfileobject.xml

From: Date: Mon, 12 Nov 2012 22:35:27 +0000
Subject: svn: /phpdoc/en/trunk/reference/spl/ splfileobject.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10707@lists.php.net to get a copy of this message
salathe Mon, 12 Nov 2012 22:35:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=328339 Log: Corrects the documented value for the SplFileObject::SKIP_EMPTY constant. (doc #63282) salathe: also added changelog entry for SKIP_EMPTY -- Provided by Niel Archer (niel.archer@gmail.com) Bug: https://bugs.php.net/63282 (Open) Documented value for SplFileObject::SKIP_EMPTY does not match real value Changed paths: U phpdoc/en/trunk/reference/spl/splfileobject.xml Modified: phpdoc/en/trunk/reference/spl/splfileobject.xml =================================================================== --- phpdoc/en/trunk/reference/spl/splfileobject.xml 2012-11-12 22:35:15 UTC (rev 328338) +++ phpdoc/en/trunk/reference/spl/splfileobject.xml 2012-11-12 22:35:27 UTC (rev 328339) @@ -69,7 +69,7 @@ <modifier>const</modifier> <type>integer</type> <varname linkend="splfileobject.constants.skip-empty">SplFileObject::SKIP_EMPTY</varname> - <initializer>6</initializer> + <initializer>4</initializer> </fieldsynopsis> <fieldsynopsis> <modifier>const</modifier> @@ -108,7 +108,7 @@ <varlistentry xml:id="splfileobject.constants.skip-empty"> <term><constant>SplFileObject::SKIP_EMPTY</constant></term> <listitem> - <para>Skips empty lines in the file.</para> + <para>Skips empty lines in the file. This requires the <constant>READ_AHEAD</constant> flag be enabled, to work as expected.</para> </listitem> </varlistentry> <varlistentry xml:id="splfileobject.constants.read-csv"> @@ -121,6 +121,30 @@ </section> <!-- }}} --> + <section role="changelog"><!-- {{{ --> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.9</entry> + <entry> + <constant>SplFileObject::SKIP_EMPTY</constant> value changed to 4. + Previously, value was 6. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </section><!-- }}} --> </partintro>

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