Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80719 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35713 invoked from network); 18 Jan 2015 02:22:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 02:22:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:47799] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/F2-18613-6E81BB45 for ; Sat, 17 Jan 2015 21:22:30 -0500 Received: by mail-lb0-f174.google.com with SMTP id 10so23536122lbg.5 for ; Sat, 17 Jan 2015 18:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Vl9dbMmNIOUfXAIEU7QdRtJnlQb9SaGNype1BCALWBY=; b=ZnR/XwWYlchtq9ur1p3TJlMGH4rOhwmH04TExOoBauNmnHFDwnVGK83WB+tSSj8dRf Or2c/z/Lji405QPG/2oXYXYaWIGL9US3op9v1SOd2jTLEQnE0iLacFC1PXRuj7N3Z8in Qqczb71lSobWr278hHFlyO0dq2iVG9FdWzHWFvhG2+y7oXbiIirNpxd852y3m3EWnFha wujhOtBL0TQUjHsU8cwg982VCpJMFng4b/b/FyiA00LFtzzLgT7/8fJaePazPtRX+UYp KXnoB3PlvtmCs+GRHjm4JXu6VVoBg81QZI+LXGDlbsSUoBHXlRoaDIcQb+h31P8/1ZPq B3RA== X-Received: by 10.112.167.136 with SMTP id zo8mr20783735lbb.17.1421547747241; Sat, 17 Jan 2015 18:22:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.101 with HTTP; Sat, 17 Jan 2015 18:22:06 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: <9F083B4E-B603-4A1D-9F1D-C758D835B450@ajf.me> References: <52243BA6.5040905@sugarcrm.com> <54B6C047.3070301@mabe.berlin> <48223964-2F90-4386-BD8F-934791E45EB4@welsh.co.nz> <9F083B4E-B603-4A1D-9F1D-C758D835B450@ajf.me> Date: Sat, 17 Jan 2015 23:22:06 -0300 Message-ID: To: Andrea Faulds Cc: Yasuo Ohgaki , Patrick Schaaf , Simon J Welsh , internals , Marc Bennewitz Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: marcio.web2@gmail.com (Marcio Almada) Andrea, > For consistency with list(), we could also just put nothing: > > foo($bar, , $baz); > > Which is like: > > list($bar, , $baz) = $arr; > > Thoughts? Not sure. Do we consider both contexts (list assignment skipping and parameter skipping) as assignments? If so, then the consistency arguments seems very strong to me. Only point against the consistency path is that in the context of list() the blank identifier is used to discard a value, while on parameter skipping the blank identifier inherits a previously declared value.