Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65936 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35608 invoked from network); 19 Feb 2013 13:00:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 13:00:46 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.210.179 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.210.179 mail-ia0-f179.google.com Received: from [209.85.210.179] ([209.85.210.179:39334] helo=mail-ia0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/C2-17768-D7773215 for ; Tue, 19 Feb 2013 08:00:46 -0500 Received: by mail-ia0-f179.google.com with SMTP id x24so6089773iak.10 for ; Tue, 19 Feb 2013 05:00:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:x-originating-ip:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:x-gm-message-state; bh=Ht3EzE4zZ52lWWolbzWZLgC2q+4YPc1Z43213GhIzhA=; b=B9uhV+3tz6mkIR/Fs4+kjkEn3D7xHVKbFH1FNsU1DMK75wij8s6cu0gHwLH2HsoRRL Zop49iXcULctdfqubFS5WCbguFkpSykeuHG17R/gL4VXTrXfzfZb6YihG3f3jMWJdXlJ uWgiiwTdtr4gIp/T0Z4M0FY2hDtCJt+PqtRPScgHGM0kjXqtCqEc3vgT/hJNdF0B8+MA NBpYdyTPDF5Ro0pbWa1pgeqdzu8RyfKPqFv8HvUFBTUmSXbNjPLCH9y7lSHoJmBbklta MJGt9d9uS7qkb5DfHTTLO2Ol3n1RyzEwggtONP5l0RmeD0Llvo/gQxP4JQfBk8OpR5li cDzw== MIME-Version: 1.0 X-Received: by 10.50.37.162 with SMTP id z2mr8384610igj.13.1361278843278; Tue, 19 Feb 2013 05:00:43 -0800 (PST) Sender: php@golemon.com Received: by 10.64.139.100 with HTTP; Tue, 19 Feb 2013 05:00:42 -0800 (PST) X-Originating-IP: [2001:470:1f09:2fa:3946:fb9f:110c:b276] In-Reply-To: References: Date: Tue, 19 Feb 2013 05:00:42 -0800 X-Google-Sender-Auth: m6CNCtMqrD9400eGo4dgQBg4BiM Message-ID: To: "Kingsquare.nl - Robin Speekenbrink" Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlhn0BFfiIB2KtFaVcwiMogBUrCyxVvjwQPOVvAFMbU+vHhpAfVAbsOCS6UsDT4MWazV+2O Subject: Re: [PHP-DEV] [RFC] Allow trailing comma in function call argument lists From: pollita@php.net (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