Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79331 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84771 invoked from network); 1 Dec 2014 07:22:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2014 07:22:37 -0000 Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:40999] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/93-61248-A371C745 for ; Mon, 01 Dec 2014 02:22:35 -0500 Received: by mail-lb0-f169.google.com with SMTP id p9so8185615lbv.28 for ; Sun, 30 Nov 2014 23:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=2gEn3WwF4wcWq3k37fYoB8nXunAOEZHi3D4w5H9jG44=; b=ReKzw15KuBr3N2XBl9l6OZot7AAupZxvm8yDoq6GTEbmQPY9L+hxBOp3Dy196tKCFb A4F8fGFliYGNMdho4v3RGYi3mmxEf/4E/8jfNTtW7IlNqQbTACewifEhuS1iReqVk4dF NH9TvCLwBKQlLWpzT3iJ/oqOoWfbTZGnBjmlo199mCNCHbb3KIvkXqSDP3bPb5QCZbhV tUXfqh1HQZwzyAjIQ0UIOrRrvkLSv/ZnW8y66BMR8Q85UIXAdbt8mddVTDIpwF9tZ68D A5rP1EemSktYit7TBCICnpeOvjedORyg2+OUt9llsKjQQFQCPB3HL2aJQk5gZVd2bCu9 xibQ== X-Received: by 10.152.234.169 with SMTP id uf9mr10016575lac.86.1417418552219; Sun, 30 Nov 2014 23:22:32 -0800 (PST) MIME-Version: 1.0 Sender: nicolas.grekas@gmail.com Received: by 10.152.110.230 with HTTP; Sun, 30 Nov 2014 23:22:11 -0800 (PST) In-Reply-To: <543C99E7.5040608@mabe.berlin> References: <5439B266.8070300@gmail.com> <543C1805.9000700@mabe.berlin> <543C257D.7040006@mabe.berlin> <543C99E7.5040608@mabe.berlin> Date: Mon, 1 Dec 2014 08:22:11 +0100 X-Google-Sender-Auth: hEq0ueLnV0HOSKGpEHE84Hb9jHA Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary=001a11336fa04d9f3b05092279e9 Subject: Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --001a11336fa04d9f3b05092279e9 Content-Type: text/plain; charset=UTF-8 For the record, from https://bugs.php.net/bug.php?id=68475 : call_user_func($a) is **almost** equivalent to $a(): A "foo::bar" string is OK for call_user_func(), but KO for the pure syntax way. See http://3v4l.org/rbQ4P To me, this looks like a whole in the implementation that should be fixed. But unless it happens, there will always be a valid use case for call_user_func, since it's the only way to keep working with existing code. Nicolas --001a11336fa04d9f3b05092279e9--