Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77860 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88145 invoked from network); 10 Oct 2014 20:46:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2014 20:46:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:52642] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/82-06615-3B548345 for ; Fri, 10 Oct 2014 16:46:44 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 2FBEE8800D5; Fri, 10 Oct 2014 16:46:40 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0B85ppC3612i; Fri, 10 Oct 2014 16:46:40 -0400 (EDT) Received: from oa-res-26-28.wireless.abdn.ac.uk (oa-res-26-28.wireless.abdn.ac.uk [137.50.26.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id DD0928800E5; Fri, 10 Oct 2014 16:46:38 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Fri, 10 Oct 2014 21:46:36 +0100 Cc: Kris Craig , PHP Internals List Content-Transfer-Encoding: quoted-printable Message-ID: References: <4D642F36-81F2-42DD-876D-78B4B8368214@ajf.me> To: Marco Pivetta X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API From: ajf@ajf.me (Andrea Faulds) On 10 Oct 2014, at 21:43, Marco Pivetta wrote: > On 10 October 2014 22:39, Kris Craig wrote: > The call_user_func() and call_user_func_array() functions are used all = over the place. I see absolutely no gain, whatsoever in removing them = and forcing developers to write their own userland variants instead. >=20 > --Kris >=20 >=20 > Of course they are, but that's obviously because any codebase written = so far didn't have PHP 5.6 support :-) > The main point here is moving forward and killing API that has no = use-case anymore (and has to be maintained). PHP 5.6 has been out for *less than two months*. Let=92s say PHP 7 comes = out in 18 months=92 time, so June 2016. Even then, PHP 5.6 would have = been around for less than 20 months. It is incredibly unreasonable to = suggest that application developers should move to this new API and = completely suspend usage of the previous one in such a short timespan = (especially given how few people will have moved to 5.6 by then) for a = non-security fix. -- Andrea Faulds http://ajf.me/