Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51554 invoked from network); 30 Aug 2013 16:43:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 16:43:31 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.53 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.53 mail-oa0-f53.google.com Received: from [209.85.219.53] ([209.85.219.53:61128] helo=mail-oa0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/C3-32511-1BBC0225 for ; Fri, 30 Aug 2013 12:43:29 -0400 Received: by mail-oa0-f53.google.com with SMTP id k18so2536535oag.40 for ; Fri, 30 Aug 2013 09:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dg3SRSuiv69oN5Es/v1UL22HZBMvm3um5wHQM8jlPcM=; b=bg38ee2Zcq2BtGxZZ+j9g4K4s0yM3WLTEAQns1PUpkNHYnaV9eHoqvYB/slLUJv+VI 6OgIeofIGm4ZXZO1xDhagBREYpLdgy00YRIiQve5JSCZPGlaShTvBcFPT8va0T85JXxN DgZahTRxcuylR9GioaSiHlpyS2CBha3qRwm9feh2n/1BeC4UA2oiSFuOr7R3JTO31gfA iC1GEQaEnjSjoQ4DnncDtKAO1dU2AK8JLRrT+tgbft0I3kEHG4R30du3ZdfWgW1KYXoW m9d/9yjIs5bLHOvdf5Y85K3H0I3PaPZ+swvaWzJdEWB/jITaNb6SeZjhBYxk2OF6z3Hp Cs3Q== MIME-Version: 1.0 X-Received: by 10.182.199.38 with SMTP id jh6mr7685261obc.33.1377881005215; Fri, 30 Aug 2013 09:43:25 -0700 (PDT) Received: by 10.76.122.200 with HTTP; Fri, 30 Aug 2013 09:43:25 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Aug 2013 10:43:25 -0600 Message-ID: To: Laruence Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=e89a8ff1bf9edbd63b04e52ceb09 Subject: Re: [PHP-DEV] [RFC] Argument unpacking From: morrison.levi@gmail.com (Levi Morrison) --e89a8ff1bf9edbd63b04e52ceb09 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 30, 2013 at 10:33 AM, Laruence wrote: > On Fri, Aug 30, 2013 at 11:23 PM, Nikita Popov > 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); > seems so weird and ugly.. > > -1 > > thanks Compared to the current alternatives it's definitely less ugly. I'm all for this syntax addition. --e89a8ff1bf9edbd63b04e52ceb09--