svn: /phpdoc/en/trunk/language/ control-structures/declare.xml predefined/traversable.xml
| From: | Fábio Luciano Nogueira de Góis | Date: | Thu, 07 Apr 2016 18:57:51 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ control-structures/declare.xml predefined/traversable.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14101@lists.php.net to get a copy of this message | ||
fabioluciano Thu, 07 Apr 2016 18:57:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338957
Log:
adding literals and interfacename tags
Changed paths:
U phpdoc/en/trunk/language/control-structures/declare.xml
U phpdoc/en/trunk/language/predefined/traversable.xml
Modified: phpdoc/en/trunk/language/control-structures/declare.xml
===================================================================
--- phpdoc/en/trunk/language/control-structures/declare.xml 2016-04-07 13:54:56 UTC (rev 338956)
+++ phpdoc/en/trunk/language/control-structures/declare.xml 2016-04-07 18:57:51 UTC (rev 338957)
@@ -30,8 +30,8 @@
directive), the <literal>encoding</literal> directive (See below for more
information on the
<link linkend="control-structures.declare.encoding">encoding</link>
- directive) and the <literal>strict_types</literal> directive (See for more
- information the
+ directive) and the <literal>strict_types</literal> directive (See for more
+ information the
<link linkend="functions.arguments.type-declaration.strict">strict</link>
section on the Function arguments page)
</para>
@@ -47,11 +47,11 @@
<tbody>
<row>
<entry>5.3.0</entry>
- <entry>Added encoding directive</entry>
+ <entry>Added <literal>encoding</literal> directive</entry>
</row>
<row>
<entry>7.0.0</entry>
- <entry>Added strict_types directive</entry>
+ <entry>Added <literal>strict_types</literal> directive</entry>
</row>
</tbody>
</tgroup>
@@ -220,7 +220,7 @@
<literal>--enable-zend-multibyte</literal>.
</para>
<para>
- Note that PHP does not expose whether <literal>--enable-zend-multibyte</literal> was
+ Note that PHP does not expose whether <literal>--enable-zend-multibyte</literal> was
used to compile PHP other than by <function>phpinfo</function>.
</para>
<para>
Modified: phpdoc/en/trunk/language/predefined/traversable.xml
===================================================================
--- phpdoc/en/trunk/language/predefined/traversable.xml 2016-04-07 13:54:56 UTC (rev 338956)
+++ phpdoc/en/trunk/language/predefined/traversable.xml 2016-04-07 18:57:51 UTC (rev 338957)
@@ -3,7 +3,7 @@
<phpdoc:classref xml:id="class.traversable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>The Traversable interface</title>
+ <title>The <interfacename>Traversable</interfacename> interface</title>
<titleabbrev>Traversable</titleabbrev>
<partintro>
@@ -16,25 +16,25 @@
</para>
<para>
Abstract base interface that cannot be implemented alone. Instead it must
- be implemented by either <classname>IteratorAggregate</classname> or
- <classname>Iterator</classname>.
+ be implemented by either <interfacename>IteratorAggregate</interfacename> or
+ <interfacename>Iterator</interfacename>.
</para>
<note>
<para>
Internal (built-in) classes that implement this interface can be used in
a &foreach; construct and do not need to implement
- <classname>IteratorAggregate</classname> or
- <classname>Iterator</classname>.
+ <interfacename>IteratorAggregate</interfacename> or
+ <interfacename>Iterator</interfacename>.
</para>
</note>
<note>
<para>
This is an internal engine interface which cannot be implemented in PHP
- scripts. Either <classname>IteratorAggregate</classname> or
- <classname>Iterator</classname> must be used instead.
+ scripts. Either <interfacename>IteratorAggregate</interfacename> or
+ <interfacename>Iterator</interfacename> must be used instead.
When implementing an interface which extends Traversable, make sure to
- list <classname>IteratorAggregate</classname> or
- <classname>Iterator</classname> before its name in the implements
+ list <interfacename>IteratorAggregate</interfacename> or
+ <interfacename>Iterator</interfacename> before its name in the implements
clause.
</para>
</note>