Re: 5.4's New De-referencing plus assignment
| From: | Pierre Joye | Date: | Wed, 30 Nov 2011 19:06:36 +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-56688@lists.php.net to get a copy of this message | ||
Hi Sebastian
As I agree with your position, there is no vote anymore on the list but
discussions.
About this addition, yes it should accept any expression. However I fail to
see the gain then but to get a perlish line.
Cheers,
On Nov 30, 2011 7:58 PM, "Sebastian Bergmann" <sebastian@php.net> wrote:
> Am 30.11.2011 19:09, schrieb Ralph Schindler:
> > $value = ($obj = new Foo)->produceAValue();
>
> -1
>
> --
> Sebastian Bergmann Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/
> http://thePHP.cc/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>