Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68836 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35473 invoked from network); 2 Sep 2013 09:17:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2013 09:17:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=hello@apfelbox.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=hello@apfelbox.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain apfelbox.net from 37.139.17.48 cause and error) X-PHP-List-Original-Sender: hello@apfelbox.net X-Host-Fingerprint: 37.139.17.48 mail.apfelbox.net Received: from [37.139.17.48] ([37.139.17.48:32889] helo=mail.apfelbox.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/21-29856-B8754225 for ; Mon, 02 Sep 2013 05:17:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.apfelbox.net (Postfix) with ESMTP id 577C6121E43; Mon, 2 Sep 2013 09:16:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.apfelbox.net Received: from mail.apfelbox.net ([127.0.0.1]) by localhost (mail.apfelbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBTVTWcMRovv; Mon, 2 Sep 2013 09:16:55 +0000 (UTC) Date: Mon, 2 Sep 2013 11:16:54 +0200 To: Lester Caine Cc: PHP Internals Message-ID: In-Reply-To: <5224543C.7030702@lsces.co.uk> References: <52243BA6.5040905@sugarcrm.com> <52244119.4040807@sugarcrm.com> <5224543C.7030702@lsces.co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="52245786_46e87ccd_145cf" Subject: Re: [PHP-DEV] [RFC] Skipping parameters take 2 From: hello@apfelbox.net (Jannik Zschiesche) --52245786_46e87ccd_145cf Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Montag, 2. September 2013 um 11:02 schrieb Lester Caine: > Ferenc Kovacs 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). -- Cheers Jannik --52245786_46e87ccd_145cf--