Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85761 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84297 invoked from network); 9 Apr 2015 23:20:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2015 23:20:22 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.216.48 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.216.48 mail-vn0-f48.google.com Received: from [209.85.216.48] ([209.85.216.48:43133] helo=mail-vn0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/52-03620-53907255 for ; Thu, 09 Apr 2015 19:20:21 -0400 Received: by vnbg7 with SMTP id g7so609021vnb.10 for ; Thu, 09 Apr 2015 16:20:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Cx3GeoapMMdw1jvCL4iu0xks2gCU198sGKhGdDw0U6E=; b=jPYCTo3AuGn1xBiXuH5SI+pxXuKdS2U5gqqjv6DHcVxpV1Qv9o8m2Uek/OsCKvDiC7 KxvM+oSHxD087HgXj2vGOB4XyXxUSacMkPjkN42uih0bZpAKy6oLePg0QP0y0Gxl7I2r RkYX/+e5jGFcfNohta/gIf6Qjifau40sKuiZmhQvhuaUBuf+y3JIqcOa9+yeyM1dvWUd 63b2owwCErQ9T4eG6k4zVJqUKP5Dm1lUdQh/OLLMletlS4t4b+m4EJq1IITbYvhHkh82 VujKZnGQJBDusrGVqdIUdyr+pSDCFwEHRNgfI1ZedrSaxzDnC71b9LDeCiDFMxVXzvM/ tK0A== X-Gm-Message-State: ALoCoQnWNR1sWm0AEFyAtLwEs8VmdYDSmJuR6Xw8Bzgvy1cO0SC9XB1MsiZef3rSxqS7Q/VbRg6WBgpi7uJ12sGBgVU2viF5ndYa2UBd+KhhhkhGIvNzLaBcp9LWSZSYW9expNHhEUfbiHLNGTEHskkoA990oi/KJw== MIME-Version: 1.0 X-Received: by 10.52.157.72 with SMTP id wk8mr25743674vdb.12.1428621618912; Thu, 09 Apr 2015 16:20:18 -0700 (PDT) Received: by 10.52.248.36 with HTTP; Thu, 9 Apr 2015 16:20:18 -0700 (PDT) Date: Fri, 10 Apr 2015 02:20:18 +0300 Message-ID: To: Xinchen Hui , Nikita Popov , PHP Internals Content-Type: multipart/alternative; boundary=089e016338ee1d36d9051352e49e Subject: _call() and __callstatic() improvement From: dmitry@zend.com (Dmitry Stogov) --089e016338ee1d36d9051352e49e Content-Type: text/plain; charset=UTF-8 Hi, Please review the patch. It improves implementation of magic __call() and __callstatic() methods using bytecode function with trampoline instead of internal C function. https://github.com/php/php-src/pull/1234 The patch is more or less obvious. I'm going to commit it tomorrow evening. Xinchen, you may also try to add support for Closure::invoke() (as a separate patch). Thanks. Dmitry. --089e016338ee1d36d9051352e49e--