svn: /phpdoc/en/trunk/ appendices/migration56/new-functions.xml reference/spl/splfileobject/fread.xml reference/spl/versions.xml
| From: | Adam Harvey | Date: | Thu, 28 Aug 2014 06:51:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/migration56/new-functions.xml reference/spl/splfileobject/fread.xml reference/spl/versions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12747@lists.php.net to get a copy of this message | ||
aharvey Thu, 28 Aug 2014 06:51:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334642
Log:
Add SPLFileObject::fread(), which I somehow missed last time around.
Changed paths:
U phpdoc/en/trunk/appendices/migration56/new-functions.xml
A phpdoc/en/trunk/reference/spl/splfileobject/fread.xml
U phpdoc/en/trunk/reference/spl/versions.xml
Modified: phpdoc/en/trunk/appendices/migration56/new-functions.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration56/new-functions.xml 2014-08-28 06:47:08 UTC (rev 334641)
+++ phpdoc/en/trunk/appendices/migration56/new-functions.xml 2014-08-28 06:51:17 UTC (rev 334642)
@@ -150,6 +150,18 @@
</itemizedlist>
</sect2>
+ <sect2 xml:id="migration56.new-functions.spl">
+ <title><link linkend="book.spl">SPL</link></title>
+
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <methodname>SPLFileObject::fread</methodname>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
<sect2 xml:id="migration56.new-functions.zip">
<title><link linkend="book.zip">Zip</link></title>
Added: phpdoc/en/trunk/reference/spl/splfileobject/fread.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splfileobject/fread.xml (rev 0)
+++ phpdoc/en/trunk/reference/spl/splfileobject/fread.xml 2014-08-28 06:51:17 UTC (rev 334642)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+
+<refentry xml:id="splfileobject.fread" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SplFileObject::fread</refname>
+ <refpurpose>Read from file</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>string</type><methodname>SplFileObject::fread</methodname>
+
<methodparam><type>int</type><parameter>length</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Reads the given number of bytes from the file.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>length</parameter></term>
+ <listitem>
+ <para>
+ The number of bytes to read.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ The string read from the file.
+ </para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/en/trunk/reference/spl/splfileobject/fread.xml
___________________________________________________________________
Added: svn:eol-style
+ native
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Modified: phpdoc/en/trunk/reference/spl/versions.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/versions.xml 2014-08-28 06:47:08 UTC (rev 334641)
+++ phpdoc/en/trunk/reference/spl/versions.xml 2014-08-28 06:51:17 UTC (rev 334642)
@@ -706,6 +706,7 @@
<function name='splfileobject::flock' from='PHP 5 >= 5.1.0'/>
<function name='splfileobject::fpassthru' from='PHP 5 >= 5.1.0'/>
<function name='splfileobject::fputcsv' from='PHP 5 >= 5.4.0'/>
+ <function name='splfileobject::fread' from='PHP 5 >= 5.6.0'/>
<function name='splfileobject::fscanf' from='PHP 5 >= 5.1.0'/>
<function name='splfileobject::fseek' from='PHP 5 >= 5.1.0'/>
<function name='splfileobject::fstat' from='PHP 5 >= 5.1.0'/>