Re: New dereferencing syntaxes in 5.4
| From: | Александр Москалёв | Date: | Wed, 30 Nov 2011 05:28:00 +0000 |
| Subject: | Re: New dereferencing syntaxes in 5.4 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56675@lists.php.net to get a copy of this message | ||
Morfi, see my mail in this thread. Still no answer to this question.
With regards, Alexander Moskaliov
Irker@irker.net
2011/11/30 Morfi <i@morfi.ru>
> Why not possible?
>
> $result = ($model = new DomainModel('foo',
> 'bar'))->findByName('John');
>
>
>