Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80725 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56753 invoked from network); 18 Jan 2015 06:02:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 06:02:07 -0000 Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-lb0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:40125] helo=mail-lb0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/76-18613-C5C4BB45 for ; Sun, 18 Jan 2015 01:02:05 -0500 Received: by mail-lb0-f178.google.com with SMTP id u14so23770121lbd.9 for ; Sat, 17 Jan 2015 22:02:01 -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=H7R1qeM/WhNmwsKkByG/0vw+O5uhXpU0LqZpFKeauD4=; b=m+W97w6SuJ6VVFL/y2I2vkCQxOeGyigjRdaCpVPBwfFa3oTWBFhay9GZ4mNlYzN2Ei E07ZjRSPLluiZBWolZnv4q4F3WvyR4qArA1A+xO307vwEl13n1Hxhr+FRSeDeepNfI9H obkFCR0Iyntt0HQj6Rt92AulgI+LChCDEt1kcEEWk/+UMhcCb4YHcmEVmgAHGWXMIJF6 Ey3CXxNzXpiORJF1Dy0qcff5ajYcd3+MZG+bBidWSFjNAHhMGLdQJZlF+slbXBr8NWVk 0Kzi04OCvFQnECQceTbKzIpHmikQiWGldIm29EYENRZ3JP2G12SvI0SzydIlWFa4iIQP EHog== X-Received: by 10.152.205.104 with SMTP id lf8mr23475749lac.94.1421560921736; Sat, 17 Jan 2015 22:02:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.101 with HTTP; Sat, 17 Jan 2015 22:01:41 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: <84D705DD-7E5E-4030-8DB3-1150CED67F70@lerdorf.com> References: <52243BA6.5040905@sugarcrm.com> <54B6C047.3070301@mabe.berlin> <48223964-2F90-4386-BD8F-934791E45EB4@welsh.co.nz> <84D705DD-7E5E-4030-8DB3-1150CED67F70@lerdorf.com> Date: Sun, 18 Jan 2015 03:01:41 -0300 Message-ID: To: Rasmus Lerdorf Cc: Yasuo Ohgaki , Patrick Schaaf , Simon J Welsh , internals , Marc Bennewitz Content-Type: multipart/alternative; boundary=001a1133a574c44cb6050ce6f1b1 Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: marcio.web2@gmail.com (Marcio Almada) --001a1133a574c44cb6050ce6f1b1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rasmus, > _ is not really an option since it is the standard gettext() shortcut. Yup, Simon J. pointed that out too so usage of `_` was already a discarded topic. The top topic now is a possible consistency with the syntax already allowed when using list. Ex: list($bar, , $baz) =3D ['good', 'trash', 'nice']; Andrea, > =E2=80=A6that probably made no sense. But I think there=E2=80=99s a case = to be made that since list() follows this syntax, we should for function calls to. But I get it, it would also prevent language syntax from growing just to have a trivial feature. Apart from the debate about meaning of the assignment using a blank identifier, it would be beneficial to use the same syntax even though situations are distinct. I guess only Stas can decide to give up on `default` and use a blank identifier. Anyway, hope this decision don't affect the voting negatively, feature is cool. 2015-01-18 0:32 GMT-03:00 Rasmus Lerdorf : > On Jan 17, 2015, at 17:52, Marcio Almada wrote: > > >> Cryptic notation is not a PHP way. IMHO.I like original "default" > proposal and it is good enough. > >> Regards, > > > > When I suggested `_` it was more as a feature wandering. I like > > `default` too. The RFC looks good enough as it is now :) > > _ is not really an option since it is the standard gettext() shortcut. > > Eg. > http://en.m.wikipedia.org/wiki/Gettext#Programming > http://php.net/_ > > -Rasmus --001a1133a574c44cb6050ce6f1b1--