Hi internals!

I'd like to propose an RFC, which adds dedicated syntax for variadic
functions:

    https://wiki.php.net/rfc/variadics

Basically this allows declaring variadics directly in the function
signature, rather than fetching the arguments using func_get_args().
Example:

    public function query($query, ...$params) { /* ... */ }

What are your thoughts on this?

Thanks,
Nikita

Reply via email to