Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18100 invoked from network); 2 Sep 2013 07:41:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2013 07:41:17 -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 108.166.43.123 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.123 smtp123.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.123] ([108.166.43.123:56730] helo=smtp123.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/B2-32023-C1144225 for ; Mon, 02 Sep 2013 03:41:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp8.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 01F751A00F3; Mon, 2 Sep 2013 03:41:13 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp8.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id A69091A0196; Mon, 2 Sep 2013 03:41:13 -0400 (EDT) Message-ID: <52244119.4040807@sugarcrm.com> Date: Mon, 02 Sep 2013 00:41:13 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Laruence CC: PHP Internals References: <52243BA6.5040905@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > I am not sure whether this is a little overhead. > > but if we do want this. to be honest, I even prefer leave it empty to > "default". > > like create_query("delete=0", "name", , , true); That's how it was initially, and I was convinced default is better. So I don't think I'm going back to empty. default indeed seems to be more readable (try to visually distinguish between ,,,, and ,,,, - if you have a lot of code, it won't be that easy). It is more verbose, but PHP never attempted to be "save the bytes" language. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227