Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76616 invoked from network); 19 Feb 2013 15:40:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 15:40:18 -0000 Authentication-Results: pb1.pair.com header.from=wfitch@meetme.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=wfitch@meetme.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain meetme.com designates 74.125.149.153 as permitted sender) X-PHP-List-Original-Sender: wfitch@meetme.com X-Host-Fingerprint: 74.125.149.153 na3sys009aog125.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [74.125.149.153] ([74.125.149.153:54787] helo=na3sys009aog125.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/1B-17768-1EC93215 for ; Tue, 19 Feb 2013 10:40:18 -0500 Received: from mail-gh0-f197.google.com ([209.85.160.197]) (using TLSv1) by na3sys009aob125.postini.com ([74.125.148.12]) with SMTP ID DSNKUSOc3jp2Y4diIvWrA9t0P8/TgZSsg54p@postini.com; Tue, 19 Feb 2013 07:40:17 PST Received: by mail-gh0-f197.google.com with SMTP id f15so8436169ghb.0 for ; Tue, 19 Feb 2013 07:40:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=mPdqYWfRwu3z4asHs4psS+XpvEKLRLGwXVKcnGwcAZM=; b=UNmeGSI/1vy6HO5g5TMn7nAwbYsBovVbujupFkKEhJUth/R0g7StjzBQAc98Dk4KiZ J8oLlLa9vZ1SW0rPVVKALqL5y6a1oCS+Jb7DnDagk4DP+HulwaAHW32nXmiHyLQjz7oI YZvo1RltFGy8cjjrXezKtUdqqRVlG4KWdLNq4aycAkZHH6gxi/WShZ4fU6sa0ZYjLEu8 uYFSDrXWt96UY0qAWWMjOSF+D+F4eKHm/udZ12nOoF9Uol1g4c2CFrJ2gxDvFXdAdNDG +pwuY4+fKLHzu2ibLibgOz1jYY6cDyP42AKMxRr3LPjxWRCMSFdRsqaOi8n6LK2rj5/3 Vt2A== X-Received: by 10.52.21.8 with SMTP id r8mr5981159vde.130.1361288414149; Tue, 19 Feb 2013 07:40:14 -0800 (PST) X-Received: by 10.52.21.8 with SMTP id r8mr5981147vde.130.1361288413947; Tue, 19 Feb 2013 07:40:13 -0800 (PST) Received: from [192.168.110.198] ([204.145.120.11]) by mx.google.com with ESMTPS id dh7sm33200379vdb.0.2013.02.19.07.40.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 07:40:12 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: Date: Tue, 19 Feb 2013 10:40:21 -0500 Cc: "Kingsquare.nl - Robin Speekenbrink" , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Sara Golemon X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQnSWTBVuH7y5RnVLAFivtqaNechAJmbZqNWPXuEuR+VcWProkOjeEYRB2eDaLOQ7+pXbpc2sh1VAOqNPt9SxK8pfMlaNjPI5n98G3Tenk8a86H2EQwXPTPyYzEy4z/aQyHozfKrQruTWTTVPsRHvzUMGN/unvDIeFczMhzHxBtOhJH2btc= Subject: Re: [PHP-DEV] [RFC] Allow trailing comma in function call argument lists From: wfitch@meetme.com (Will Fitch) On Feb 19, 2013, at 8:00 AM, Sara Golemon wrote: > 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) >>=20 >> That way it would be consistent with this RFC and the list() = construct ? >>=20 > It's orthogonal to skipparams. It'd neither help nor hurt based on > the recommendations of that RFC. >=20 > With regard to list(), it already supports expressions like this: > list($x,) =3D array(123); so nothing more needs to be done for it and > it's not at odds with either of these RFCs. I would vote +1 on this solely for the sake of consistency. I've never = liked the idea behind the parser's actions on constructs (list, array). >=20 > -Sara >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20