Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54344 invoked from network); 19 Feb 2013 13:44:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 13:44:18 -0000 Authentication-Results: pb1.pair.com header.from=robin@kingsquare.nl; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=robin@kingsquare.nl; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kingsquare.nl from 141.138.142.202 cause and error) X-PHP-List-Original-Sender: robin@kingsquare.nl X-Host-Fingerprint: 141.138.142.202 spring.kingsquare.nl Linux 2.6 Received: from [141.138.142.202] ([141.138.142.202:36853] helo=spring.kingsquare.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/D6-17768-1B183215 for ; Tue, 19 Feb 2013 08:44:17 -0500 X-No-Relay: not in my network Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by spring.kingsquare.nl (Postfix) with ESMTPSA id B6733E9C598 for ; Tue, 19 Feb 2013 14:44:11 +0100 (CET) Received: by mail-ve0-f171.google.com with SMTP id b10so5884257vea.30 for ; Tue, 19 Feb 2013 05:44:10 -0800 (PST) X-Received: by 10.52.24.98 with SMTP id t2mr17885541vdf.69.1361281450272; Tue, 19 Feb 2013 05:44:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.41.204 with HTTP; Tue, 19 Feb 2013 05:43:50 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Feb 2013 14:43:50 +0100 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: multipart/alternative; boundary=20cf30780e624868b904d61409eb Subject: Re: [PHP-DEV] [RFC] Allow trailing comma in function call argument lists From: robin@kingsquare.nl ("Kingsquare.nl - Robin Speekenbrink") --20cf30780e624868b904d61409eb Content-Type: text/plain; charset=UTF-8 Sara, I wasnt commenting that this RFC was different, just in agreement that this syntax is _more_ in line with the list() construct (which then might reflect the skipparams rfc)) If i wasnt clear: from a user point of view: i am all for this RFC ;) Met vriendelijke groet, Robin Speekenbrink Kingsquare BV 2013/2/19 Sara Golemon > On Tue, Feb 19, 2013 at 4:41 AM, Kingsquare.nl - Robin Speekenbrink > wrote: > > Just a question from one of the lingering listeners: would this change > also > > ease the `skipping` of default values for parameters? (as discussed for > RFC > > https://wiki.php.net/rfc/skipparams) > > > > That way it would be consistent with this RFC and the list() construct ? > > > It's orthogonal to skipparams. It'd neither help nor hurt based on > the recommendations of that RFC. > > With regard to list(), it already supports expressions like this: > list($x,) = array(123); so nothing more needs to be done for it and > it's not at odds with either of these RFCs. > > -Sara > --20cf30780e624868b904d61409eb--