Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3875 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79482 invoked from network); 13 Aug 2003 07:31:43 -0000 Received: from unknown (HELO bugge.potatoe.com) (216.240.48.15) by pb1.pair.com with SMTP; 13 Aug 2003 07:31:43 -0000 Received: from potatoe.com (localhost [127.0.0.1]) by bugge.potatoe.com (8.12.9/8.12.2) with ESMTP id h7D7YLaF013752 for ; Wed, 13 Aug 2003 00:34:21 -0700 (PDT) Message-ID: <3F39E9FC.2030403@potatoe.com> Date: Wed, 13 Aug 2003 00:34:20 -0700 Organization: The Madfish Group User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030727 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net References: <3F39DD65.30401@potatoe.com> In-Reply-To: <3F39DD65.30401@potatoe.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] call_user_func, static calls, and $this From: tater@potatoe.com (Brad Bulger) semi-related: __call is somewhat reversed. it will catch call_user_func(array('self','fake')), but not self::fake() (same for parent vs parent:: or randomclass vs randomclass::) the visibility of $this is not changed, so you end up with no $this inside __call. it can be a surprise.