Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77907 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61528 invoked from network); 13 Oct 2014 02:00:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2014 02:00:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:51772] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/F0-54452-4323B345 for ; Sun, 12 Oct 2014 22:00:20 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 7104744CB0; Mon, 13 Oct 2014 04:00:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-3-167.dynamic.mnet-online.de [93.104.3.167]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id AE9C844CB0; Mon, 13 Oct 2014 04:00:25 +0200 (CEST) Message-ID: <1413165610.23793.22.camel@kuechenschabe> To: Marco Pivetta Cc: Andrea Faulds , Rowan Collins , PHP Internals List Date: Mon, 13 Oct 2014 04:00:10 +0200 In-Reply-To: References: <5439B266.8070300@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2014-10-13 at 02:45 +0200, Marco Pivetta wrote: > The point is removing more API from core and moving it to userland. > API implemented in core needs to be maintained by core devs, and is > non-transparent to consumers (reflection/debugging/etc). > In general, I've always been against any non-language feature that isn't > implemented with the language itself, but it's my point of view: as a > simple rule of thumb (my rule, many would just say I'm crazy), if it can be > implemented in PHP, then don't add it to core or extensions. For *adding* features that is a good rule. For removing not. Even less for a feature with more than a million hits on GitHub ... https://github.com/search?l=php&q=func_get_args&type=Code&utf8=%E2%9C%93 (while that metric is bad - too many duplicates due to forks and from phpt test suite, but still a notable number) johannes