mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added role=parameters, and moved note to new role=notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253466 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
81534059fc
commit
074d5dc756
1 changed files with 32 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<refentry xml:id="function.next" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>next</refname>
|
||||
|
@ -19,6 +19,23 @@
|
|||
advances the internal array pointer by one.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>array</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <type>array</type> being affected.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
@ -26,15 +43,8 @@
|
|||
internal array pointer, or &false; if there are no more elements.
|
||||
</para>
|
||||
&return.falseproblem;
|
||||
<note>
|
||||
<simpara>
|
||||
You won't be able to distinguish the end of an array from a
|
||||
<type>boolean</type> &false; element. To properly traverse an array
|
||||
which may contain &false; elements, see the <function>each</function>
|
||||
function.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -55,6 +65,19 @@ $mode = end($transport); // $mode = 'plane';
|
|||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<simpara>
|
||||
You won't be able to distinguish the end of an array from a
|
||||
<type>boolean</type> &false; element. To properly traverse an array
|
||||
which may contain &false; elements, see the <function>each</function>
|
||||
function.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue