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: Bob Weinand Date: Sun, 13 Apr 2014 20:25:49 +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.phptReferences: 1 2 Groups: php.cvs Request: Send a blank email to php-cvs+get-76832@lists.php.net to get a copy of this message
Am 13.4.2014 um 22:16 schrieb Stas Malyshev <smalyshev@sugarcrm.com>: > 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 Hi, it already has some NEWS note. But it doesn't need an UPGRADING note as it _is not_ an API change. The interface hasn't changed. I actually just pass one parameter more, the user can specify one, but doesn't have to. It'd only be an API change if it forced the user to change its declaration. I'll add some documentation about that. Bob
Thread (10 messages)
- Re: com php-src: Fix bug #67064 in a BC safe way You canuse an optional parameter now when implementing the Countable interface toget the $mode passed
to count().: ext/standard/array.c ext/standard/tests/array/bug67064.phpt
- 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
- Re: com php-src: Fix bug #67064 in a BC safe way You canuse an optional parameter now when implementing the Countable interface toget the $mode passed
to count().: ext/standard/array.c ext/standard/tests/array/bug67064.phpt
- 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
- Re: com php-src: Fix bug #67064 in a BC safe way You canuse an optional parameter now when implementing the Countable interface toget the $mode passed
to count().: ext/standard/array.c ext/standard/tests/array/bug67064.phpt
| « previous | php.cvs (#76832) | next » |
|---|