Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68839 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41540 invoked from network); 2 Sep 2013 10:20:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2013 10:20:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.204 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.204 mail4.serversure.net Linux 2.6 Received: from [217.147.176.204] ([217.147.176.204:44131] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/52-29856-A7664225 for ; Mon, 02 Sep 2013 06:20:43 -0400 Received: (qmail 20990 invoked by uid 89); 2 Sep 2013 10:20:39 -0000 Received: from unknown (HELO linux-dev4.lsces.org.uk) (lester@rainbowdigitalmedia.org.uk@109.152.18.233) by mail4.serversure.net with ESMTPA; 2 Sep 2013 10:20:39 -0000 Message-ID: <5224674B.40008@lsces.co.uk> Date: Mon, 02 Sep 2013 11:24:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 MIME-Version: 1.0 To: PHP internals References: <52243BA6.5040905@sugarcrm.com> <52244119.4040807@sugarcrm.com> <5224543C.7030702@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: lester@lsces.co.uk (Lester Caine) Jannik Zschiesche wrote: >>> another small advantage would be that IDEs could show you the default value >>> for the argument when hovering the default keyword. >> But a good IDE is already showing the full function and notes ... and will >> autocomplete so that this fix is not actually required :) >> >> In many cases, the 'additions' being loaded into the core would be much better >> handled in an IDE and already were in am ore flexible way ... > > Except for the case when the default changes. > With `default` you will to the new default, with a (once) generated code block > in the IDE it will stay the old default. > > And exactly this is the actual intention of this proposal (as far as I > understood it). ? ... How would the default change from what is defined in the code? What am I missing? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk