[RFC] Argument unpacking
From: Nikita Popov Date: Fri, 30 Aug 2013 15:23:08 +0000 Subject: [RFC] Argument unpacking Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
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? Thanks, Nikita
Thread (25 messages)
« previous | php.internals (#68726) | next » |
---|