Re: com php-src: Fix bug #67064 in a BC safe way You can use an optional parameter now when implementing the Countable interface to get the $mode
passed to count().: ext/standard/array.c ext/standard/tests/array/bug67064.phpt
| From: | Stas Malyshev | Date: | Sun, 13 Apr 2014 20:16:48 +0000 |
| Subject: | Re: com php-src: Fix bug #67064 in a BC safe way You can use an optional parameter now when implementing the Countable interface to get the $mode passed to count().: ext/standard/array.c ext/standard/tests/array/bug67064.phpt |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-76831@lists.php.net to get a copy of this message | ||
Hi!
> Commit: 1a4a9eede59b853f11e8e8b965e5f715f53da8f7
> Author: Bob Weinand <bobwei9@hotmail.com> Sun, 13 Apr 2014 19:19:24 +0200
> Parents: 5a0da281e5a9fa02db18b4822d8b103c65849fa9
> Branches: PHP-5.4
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=1a4a9eede59b853f11e8e8b965e5f715f53da8f7
>
> Log:
> Fix bug #67064 in a BC safe way
> You can use an optional parameter now when implementing the Countable interface
> to get the $mode passed to count().
>
> Bugs:
> https://bugs.php.net/67064
This needs NEWS and UPGRADING note, as it is a change in the API. And
documentation of course.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227