Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50172 invoked from network); 13 Oct 2014 19:37:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2014 19:37:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.107 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.107 smtp107.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.107] ([108.166.43.107:55710] helo=smtp107.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/D2-32407-C0A2C345 for ; Mon, 13 Oct 2014 15:37:48 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id E8C4E80547; Mon, 13 Oct 2014 15:37:45 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp6.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 9321E80522; Mon, 13 Oct 2014 15:37:45 -0400 (EDT) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net [108.66.6.48]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.2.13); Mon, 13 Oct 2014 19:37:45 GMT Message-ID: <543C2A08.9020004@sugarcrm.com> Date: Mon, 13 Oct 2014 12:37:44 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Marco Pivetta CC: PHP Internals List References: <543C1E5A.7040405@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > My point is that providing them as "userland implementation" even inside > core would be more interesting than having something magic going on > under the hood. It certainly may be "interesting", and nobody prevents you from writing a blog or implementing a library doing this. However, it is not the reason to change the core functions of PHP. > Yes, I realize that complete removal would completely kill PHP's > adoption for the next version, so I'm thinking about something like an > ini setting: > > "zeh_legacy_includeh = '/zeh/path/to/old/functions.php';" You're trying to solve a problem that did not exist before you tried to solve it. > Yet this would allow removing a lot of internal functions that were > written just for the sake of it, and move them to something that can be > maintained by a larger userbase. These functions weren't written "just for the sake of it". They were written because people needed it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/