Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80717 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32507 invoked from network); 18 Jan 2015 02:04:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 02:04:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:51950] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/52-18613-7C41BB45 for ; Sat, 17 Jan 2015 21:04:57 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 286C32400AA; Sat, 17 Jan 2015 21:04:53 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yYgcQdQCs1ee; Sat, 17 Jan 2015 21:04:52 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id A7BD42400A9; Sat, 17 Jan 2015 21:04:50 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Sun, 18 Jan 2015 02:04:48 +0000 Cc: Yasuo Ohgaki , Patrick Schaaf , Simon J Welsh , internals , Marc Bennewitz Content-Transfer-Encoding: 7bit Message-ID: <9F083B4E-B603-4A1D-9F1D-C758D835B450@ajf.me> References: <52243BA6.5040905@sugarcrm.com> <54B6C047.3070301@mabe.berlin> <48223964-2F90-4386-BD8F-934791E45EB4@welsh.co.nz> To: marcio3w@gmail.com X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: ajf@ajf.me (Andrea Faulds) Hi Marcio, > On 18 Jan 2015, at 02:01, Marcio Almada wrote: > > Just a note: > > I still think a single char token (like `~`) would look great and > wouldn't be "cryptic" like Yasuo argued. But, as said before, it's > just a minor observation. The `default` token is a great option and > sounds very intuitive to anyone I've asked for opinions. For consistency with list(), we could also just put nothing: foo($bar, , $baz); Which is like: list($bar, , $baz) = $arr; Thoughts? -- Andrea Faulds http://ajf.me/