Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2721 invoked from network); 22 Feb 2014 16:15:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2014 16:15:31 -0000 Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:33167] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/D0-31790-02DC8035 for ; Sat, 22 Feb 2014 11:15:31 -0500 Received: (qmail 1605 invoked by uid 1009); 22 Feb 2014 17:15:24 +0100 Received: from 213.135.15.139 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/18503. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:0(213.135.15.139):SA:0(4.3/10.0):. Processed in 0.714167 secs); 22 Feb 2014 16:15:24 -0000 X-Spam-Status: No, hits=4.3 required=10.0 X-Spam-Level: ++++ X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(213.135.15.139):SA:0(4.3/10.0):. Processed in 0.714167 secs Process 1593) Received: from unknown (HELO rofl.localnet) (gmail@bof.de@213.135.15.139) by mars.intermailgate.com with AES256-SHA encrypted SMTP; 22 Feb 2014 17:15:23 +0100 To: internals@lists.php.net Cc: Andrea Faulds , Gleb Golubitsky , Christopher Jones , Nikita Popov Date: Sat, 22 Feb 2014 17:15:20 +0100 Message-ID: <4283043.OsXFhf6CrZ@rofl> User-Agent: KMail/4.11.5 (Linux/3.13.2-k10-bof; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <3930601.eOsJ67jUeD@dagon> <3095034.S38469PJ60@dagon> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [PHP-DEV] Named params status From: php@bof.de (Patrick Schaaf) On Saturday 22 February 2014 14:25:07 Andrea Faulds wrote: > On 21 Feb 2014, at 19:49, Gleb Golubitsky wro= te: > > Sad to hear so. What exactly stops from having it in the mainline? >=20 > While the named parameters implementation works, we'd need to update = the > function info headers for every single internal function, and make su= re it > matches the documentation. I think Nikita simply doesn=E2=80=99t have= the time on > his hands. I know that I said it more nicely before.... That is stupidity. Just release the feature for user code (self-written functions and meth= ods). Create a suitable variation of the internals function declaration macro= s that=20 expresses "this function has been vetted for named parameter usage, and= refuse=20 to accept named parameters (FATAL) for any function not so vetted. Then let the internal function vetting proceed at whatever pace it take= s,=20 later. If you first wait for each and every internal (and extension?) function= being=20 converted, this will never happen. best regards Patrick