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: | Gustavo A. S. Lopes | Date: | Wed, 07 Sep 2011 14:00:46 +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 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-66359@lists.php.net to get a copy of this message | ||
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:There's no BC break as this function is new in 5.4. Unless you mean BC break from the latest alpha. -- Gustavo Lopes@@ -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.stas Wed, 07 Sep 2011 06:46:27 +0000Revision: http://svn.php.net/viewvc?view=revision&revision=316300 [...]