Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77934 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43770 invoked from network); 13 Oct 2014 18:49:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2014 18:49:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.42 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.192.42 mail-qg0-f42.google.com Received: from [209.85.192.42] ([209.85.192.42:42857] helo=mail-qg0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/91-32407-A9E1C345 for ; Mon, 13 Oct 2014 14:48:59 -0400 Received: by mail-qg0-f42.google.com with SMTP id z60so7307246qgd.15 for ; Mon, 13 Oct 2014 11:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mobjuIzuggHsp0Pio13gPGSZeXqsJBrK9YjEuWsl/sI=; b=WdCxpNwU3RmPN2jZkXWo0fNQDe4HKWRYhT50JCmCQNGARsEltqb3ZJ015HQG+iJF9k gVGWJ1XE+LLcPJg1U4ZkoFl2jJwjyQAtzRDNx3vUwxiuHK2/Kd9O4IsZPAG23PqSiC1H CASSl4h/vK0E7es1SVM3rZ5Dbk98r2rMUhY9JGD7khG90HCwqoiPiUnaZqhTG2gXk8Jj RI1xdGqg8ExNRasNTq815Gs+qeStnRQKX4061zUwRJzyCnlAOpjkU+BF63kOSXFFAOR+ r7Jt24LTkmIbvEw25bo5xoBq2y1lqpEpztSRRjpsH6ghovNeLHE6WZvar85uE0p547MN 5A4A== X-Received: by 10.140.102.235 with SMTP id w98mr42807216qge.35.1413226136482; Mon, 13 Oct 2014 11:48:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.97.139 with HTTP; Mon, 13 Oct 2014 11:48:36 -0700 (PDT) In-Reply-To: <543C1805.9000700@mabe.berlin> References: <5439B266.8070300@gmail.com> <543C1805.9000700@mabe.berlin> Date: Mon, 13 Oct 2014 20:48:36 +0200 Message-ID: To: Marc Bennewitz Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a11c1664cda3eb90505525958 Subject: Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API From: ocramius@gmail.com (Marco Pivetta) --001a11c1664cda3eb90505525958 Content-Type: text/plain; charset=UTF-8 On 13 October 2014 20:20, Marc Bennewitz wrote: > > On 13.10.2014 02:45, Marco Pivetta wrote: > > Your implementation of "userland_call_user_func" doesn't have the same > visibility as "call_user_func[_array]": > http://3v4l.org/lNgub Interesting: this seems to show that it's even more magic than I expected. Here's just a hacked-together example, just to show that it can be done in userland as well (there may be better ways): http://3v4l.org/QuQM1#v560 Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --001a11c1664cda3eb90505525958--