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:
Hannes Magnusson 2014-10-26 01:28:08 +00:00
parent 285c8b2b89
commit 9153615957

View file

@ -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>