mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Revert r333536 Fixed version number in changelog
Revert r333311 Updated Countable::count([$mode]) to reflect newest changes The fix for bug #67064 was reverted, so undocumenting the changes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335135 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
285c8b2b89
commit
9153615957
1 changed files with 2 additions and 41 deletions
|
@ -11,7 +11,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>abstract</modifier> <modifier>public</modifier> <type>int</type><methodname>Countable::count</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>COUNT_NORMAL</initializer></methodparam>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This method is executed when using the <function>count</function> function on an
|
||||
|
@ -21,22 +21,7 @@
|
|||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The optional <parameter>mode</parameter> parameter will be set to
|
||||
<constant>COUNT_NORMAL</constant> or <constant>COUNT_RECURSIVE</constant>, depending
|
||||
on what value was passed to the second parameter of <function>count</function>.
|
||||
This is particularly useful for counting all the elements of
|
||||
a multidimensional array/Countable combination.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
|
@ -51,30 +36,6 @@
|
|||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.6.0</entry>
|
||||
<entry>
|
||||
The optional <parameter>mode</parameter> parameter was added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue