mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
adding literals and interfacename tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338957 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4e85725855
commit
9b6f1812ab
2 changed files with 14 additions and 14 deletions
|
@ -30,8 +30,8 @@ declare (directive)
|
|||
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 @@ declare (directive)
|
|||
<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 @@ declare(encoding='ISO-8859-1');
|
|||
<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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue