Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49941 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75256 invoked from network); 20 Oct 2010 18:36:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Oct 2010 18:36:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 207.97.245.153 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 207.97.245.153 smtp153.iad.emailsrvr.com Linux 2.6 Received: from [207.97.245.153] ([207.97.245.153:54681] helo=smtp153.iad.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/BA-16474-7C63FBC4 for ; Wed, 20 Oct 2010 14:36:56 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp35.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 506FF2C8424; Wed, 20 Oct 2010 14:36:53 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp35.relay.iad1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 9CFB52C8420; Wed, 20 Oct 2010 14:36:52 -0400 (EDT) Message-ID: <4CBF36C3.9080003@sugarcrm.com> Date: Wed, 20 Oct 2010 11:36:51 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: "RQuadling@googlemail.com" CC: Richard Quadling , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Skipping of defaulted parameters. From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > 3 - New keyword of default or void to specifically indicate the intent > to use the default value for the argument. Actually, 'default' is already a keyword (switch!), while _ is an actual function name (gettext). So default, syntactically, can work, while _ can't. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227