Re: svn: /php/php-src/ branches/PHP_5_4/NEWS branches/PHP_5_4/Zend/tests/closure_036.phpt branches/PHP_5_4/Zend/tests/closure_038.phpt
branches/PHP_5_4/Zend/tests/closure_039.phpt branches/PHP_5_4/Zend/tests/closure_040.phpt branches/PHP_5_
| From: | Hannes Magnusson | Date: | Wed, 07 Sep 2011 14:06:26 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_4/NEWS branches/PHP_5_4/Zend/tests/closure_036.phpt branches/PHP_5_4/Zend/tests/closure_038.phpt branches/PHP_5_4/Zend/tests/closure_039.phpt branches/PHP_5_4/Zend/tests/closure_040.phpt branches/PHP_5_ |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-66360@lists.php.net to get a copy of this message | ||
On Wed, Sep 7, 2011 at 16:00, Gustavo A. S. Lopes
<glopes@nebm.ist.utl.pt> wrote:
> On Wed, 07 Sep 2011 10:38:54 +0100, Hannes Magnusson
> <hannes.magnusson@gmail.com> wrote:
>
>> On Wed, Sep 7, 2011 at 08:46, Stanislav Malyshev <stas@php.net> wrote:
>>>
>>> stas Wed, 07 Sep 2011 06:46:27
>>> +0000
>>>
>>> Revision:
>>> http://svn.php.net/viewvc?view=revision&revision=316300
>>>
>>> [...]
>>
>> @@ -20,7 +20,7 @@
>>
>> $ca = $a->getIncrementor();
>> $cb = $ca->bindTo($b);
>> -$cb2 = Closure::bind($b, $ca);
>> +$cb2 = Closure::bind($ca, $b);
>>
>>
>> That change seems a bit weird to me and quite big BC break.
>> Please update the migration file with details on this.
>>
>
> There's no BC break as this function is new in 5.4. Unless you mean BC
> break from the latest alpha.
Ahh. Explains why I had a hard time finding anything related in the docs :)
-Hannes