Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60159 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2602 invoked from network); 18 Apr 2012 06:57:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2012 06:57:55 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:44339] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/D6-21594-2F56E8F4 for ; Wed, 18 Apr 2012 02:57:54 -0400 Received: by iaeh11 with SMTP id h11so11824729iae.29 for ; Tue, 17 Apr 2012 23:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=kMu/SI2AwpXCyslDnYxpZS01PytJpM+rC6/rMG1NiUE=; b=BE8Wdw4+tI3eEj9kOnlkLRC3pcHgTWqOcWrJNfl4rgxKAUlPFO9gRLBPzeRHBdf8Mh iOZ286yQSWtaEUy8QEmDV8KW8OzTuWxvYOKtAZ0uwxg8KGutEW8XNvd/f4lZ9qo+XIMG b9fJpGYVPy+D3DxR3hyYeXIww4ZF4eXUtJRe0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=kMu/SI2AwpXCyslDnYxpZS01PytJpM+rC6/rMG1NiUE=; b=Rpvba9Ak5YCwbureH7zkwpneD+K5NYSnhGkRVrKPSR/N+sGqm69w4L8GnIzoibqTTz EZuvitCle/WBXSsZ19mJoXO25dkhu4Ng6I6ubHyRQWJ94Jm+l8tQVYpwwBWq2aFJzKe+ aHZjbFYFLzr+lxmsJE8pZXlXSovOys99hrfMoS6ndyAWivLCKu1r3XIQzdAVbQQoczKg 69amvDEuHGKBWAF55onaadC4cr+BWP/Dhz92JiyNk2pBO1wVZSfNdX26eqby6xMN7yVQ KR1XCx1nPT9qFC5qp7NdVNYpn0saqu3ZOxsEmXSxF8JKTO0yT2OD5jfrUx6CWA6K+VoT O8Og== Received: by 10.50.188.134 with SMTP id ga6mr11818678igc.20.1334732271474; Tue, 17 Apr 2012 23:57:51 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.42.243.73 with HTTP; Tue, 17 Apr 2012 23:57:31 -0700 (PDT) In-Reply-To: <4F8DF4B1.2040307@sugarcrm.com> References: <4F8DF4B1.2040307@sugarcrm.com> Date: Wed, 18 Apr 2012 14:57:31 +0800 X-Google-Sender-Auth: QjRs5W0Lc214VTn7mV3JMyWlXo4 Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnT786bDhk0WUnO7DSj+RSFXaklcjFXh5Ryr2zk6F/KtfSkfJegLNW9Sda8grGgy98N/UJr Subject: Re: [PHP-DEV] [RFC] skipping optional parameters From: aharvey@php.net (Adam Harvey) On 18 April 2012 06:54, Stas Malyshev wrote: > create_query("deleted=3D0", "name",,, /*report_errors*/ true); I like it. At the risk of bikeshedding, can we have a token rather than just a series of commas =E2=80=94=C2=A0say reusing the default keyword= so it would look like this instead: create_query("deleted=3D0", "name", default, default, /*report_errors*/ tru= e); That seems easier to read to my eyes than counting commas. Thanks, Adam