Re: 5.4's New De-referencing plus assignment
| From: | Matthew Weier O'Phinney | Date: | Thu, 01 Dec 2011 04:20:51 +0000 |
| Subject: | Re: 5.4's New De-referencing plus assignment | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56698@lists.php.net to get a copy of this message | ||
On 2011-11-30, Sebastian Bergmann <sebastian@php.net> wrote:
> Am 30.11.2011 19:09, schrieb Ralph Schindler:
>> $value = ($obj = new Foo)->produceAValue();
>
> -1
Just curious: why?
(Not that I'm 100% sure I agree with it myself, but curious why you
would vote against it...)
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc