Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81006 invoked from network); 20 Jul 2012 07:26:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2012 07:26:55 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:46037] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/07-18983-E3809005 for ; Fri, 20 Jul 2012 03:26:55 -0400 Received: by lbgc1 with SMTP id c1so5278499lbg.29 for ; Fri, 20 Jul 2012 00:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=R6kJgU9VHjIcf54HCUZJjEMJ8OY9J+5PyQaoI0kM8Yw=; b=qydqvmLkN4GpFrkUTN8JVf8EZ5ffpuEcPTPtrytH4eiF7N5L3GLoc5f7Rc9uq0u61Q Ywent+5ho5FuWL5cDaAbcTrd1/beO1Kk8FYoGJBTvxhKPAQvcGSZ9GvRB0dFpTKo3LhP CNFJ4drpxsxVi8OrTusE6IuwKnP0HftEqJJvHjlBm1noH2Pb2mj43dhDQZknz+R0RcU2 J5JzJ59ufq0Pvtlp6c5QlaVcEdo5JfM1/C2l/KhBprp6nwOUEVkSkl5NC/JQaUgQLV2V CQidZWlNMFbe49iK1TkgFtgzEz7Tv6vvT8Dpn+Cuus1kaLL3mJBOqpomRMe2b0CQMvmc Jmhw== MIME-Version: 1.0 Received: by 10.112.17.200 with SMTP id q8mr2442215lbd.11.1342769211445; Fri, 20 Jul 2012 00:26:51 -0700 (PDT) Received: by 10.152.114.70 with HTTP; Fri, 20 Jul 2012 00:26:51 -0700 (PDT) In-Reply-To: <5008A143.7010203@sugarcrm.com> References: <5008A143.7010203@sugarcrm.com> Date: Fri, 20 Jul 2012 09:26:51 +0200 Message-ID: To: Stas Malyshev Cc: Gustavo Lopes , Sara Golemon , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] zend_parse_parameters() improvements From: nikita.ppv@gmail.com (Nikita Popov) On Fri, Jul 20, 2012 at 2:07 AM, Stas Malyshev wrote: > I was just thinking - since we have basically no code relying on this, > why introduce rather artificial concept of "null means no parameter" > (which I'm sure won't work in all cases and won't be expected in all > cases) if we can have perfectly good concept "default means no > parameter" which won't clash with any existing code? I'd just like to point out that I wouldn't bet much on the parameter skipping via default making it in. I don't want to extrapolate too much, but from what I've gathered the feature has rather bad community support. At least as far as I can tell, people are really interested in having named parameters, but would rather not have parameter skipping as implemented. But that's getting off-topic :/ Nikita