Re: [RFC] Syntax for variadic functions
| From: | Nikita Popov | Date: | Wed, 28 Aug 2013 16:20:34 +0000 |
| Subject: | Re: [RFC] Syntax for variadic functions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68641@lists.php.net to get a copy of this message | ||
On Wed, Aug 28, 2013 at 6:18 PM, Lazare Inepologlou <linepogl@gmail.com>wrote:
> Not only this does not work, but there is no way to make it work without
> modifying the original function. Would it be possible to extend the RFC
> with new syntax that could cover cases like that as well? Maybe something
> like that:
>
> $result = $this->query( $query, ...$params );
>
I will implement this, but in a separate RFC :) [Later today or tomorrow]
Nikita