[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/spl/countable/_count.xml?=
From:       Hannes_Magnusson <bjori () php ! net>
Date:       2014-10-26 1:28:08
Message-ID: svn-bjori-1414286888-335135-2090711679 () svn ! php ! net
[Download RAW message or body]

bjori                                    Sun, 26 Oct 2014 01:28:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=335135

Log:
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

Bug: https://bugs.php.net/67064 (Closed) Countable interface prevents using 2nd \
parameter ($mode) of count() function  
Changed paths:
    U   phpdoc/en/trunk/reference/spl/countable/count.xml

Modified: phpdoc/en/trunk/reference/spl/countable/count.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/countable/count.xml	2014-10-24 03:11:13 UTC (rev \
                335134)
+++ phpdoc/en/trunk/reference/spl/countable/count.xml	2014-10-26 01:28:08 UTC (rev \
335135) @@ -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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic