Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46112 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34013 invoked from network); 19 Nov 2009 18:37:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2009 18:37:18 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Linux 2.4/2.6 Received: from [63.205.162.117] ([63.205.162.117:42484] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/6D-65535-C50950B4 for ; Thu, 19 Nov 2009 13:37:17 -0500 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id D5320E123E; Thu, 19 Nov 2009 10:34:49 -0800 (PST) Received: from [192.168.16.203] ([192.168.16.203]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Nov 2009 10:37:13 -0800 Message-ID: <4B05905A.2000606@zend.com> Date: Thu, 19 Nov 2009 10:37:14 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Julien Pauli CC: Jingcheng Zhang , internals@lists.php.net References: <4B045234.1010804@zend.com> <72827a300911191032t249f9e1fi18a8fee476ed7dc0@mail.gmail.com> In-Reply-To: <72827a300911191032t249f9e1fi18a8fee476ed7dc0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Nov 2009 18:37:13.0571 (UTC) FILETIME=[4FC9F330:01CA6947] Subject: Re: [PHP-DEV] The inconsistencies/flaws of PHP5's object model From: stas@zend.com (Stanislav Malyshev) Hi! > call_user_func(array($o,'f')); leads to fatal error, I think the same Of course, since you again asked to call method 'f'. Try: call_user_func($o->f); -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com