hi Nikita! On Fri, Aug 30, 2013 at 5:23 PM, Nikita Popov <nikita....@gmail.com> wrote: > Hi internals! > > This RFC proposes to add a syntax for argument unpacking: > > https://wiki.php.net/rfc/argument_unpacking > > Basically, this is the "complement" of the variadics RFC: It is not about > declaring variadic functions, but about calling them. > > The syntax it introduces looks as follows: > > $db->query($query, ...$params); > > Thoughts?
The more I read these two RFCs (and the previous ones about similar features), the more I think we really need to find a compromise about named arguments. Many of the problems (remotely or closely related) would be solved too. About the syntax used in these RFCs, I really have to try out the patch and see if it feels natural, but can't say it while reading the RFCs... :) Cheers, -- Pierre @pierrejoye | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php