atom feed23 messages in net.php.lists.internals[PHP-DEV] [RFC] Argument unpacking
FromSent OnAttachments
Nikita PopovAug 30, 2013 8:22 am 
LaruenceAug 30, 2013 9:33 am 
Levi MorrisonAug 30, 2013 9:43 am 
Stas MalyshevAug 30, 2013 9:56 am 
Nikita PopovAug 30, 2013 10:06 am 
Lazare InepologlouAug 30, 2013 10:20 am 
Stas MalyshevAug 30, 2013 10:45 am 
Stas MalyshevAug 30, 2013 10:47 am 
Lazare InepologlouAug 30, 2013 10:54 am 
Nikita PopovAug 30, 2013 12:02 pm 
Andrey HristovAug 30, 2013 1:02 pm 
Stas MalyshevAug 30, 2013 2:50 pm 
Lazare InepologlouAug 30, 2013 3:27 pm 
Bob WeinandAug 30, 2013 3:57 pm 
Stas MalyshevAug 30, 2013 4:38 pm 
Lazare InepologlouAug 30, 2013 4:39 pm 
Bob WeinandAug 30, 2013 5:00 pm 
Bob WeinandAug 30, 2013 5:07 pm 
Nikita PopovAug 31, 2013 3:21 am 
Adam HarveyAug 31, 2013 10:49 am 
Adam HarveyAug 31, 2013 10:57 am 
Sara GolemonAug 31, 2013 2:37 pm 
Pierre JoyeAug 31, 2013 6:06 pm 
Subject:[PHP-DEV] [RFC] Argument unpacking
From:Nikita Popov (niki@gmail.com)
Date:Aug 30, 2013 8:22:45 am
List:net.php.lists.internals

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