Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21412 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46743 invoked by uid 1010); 4 Jan 2006 15:13:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46728 invoked from network); 4 Jan 2006 15:13:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2006 15:13:07 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:25699] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C4/2A-34518-206EBB34 for ; Wed, 04 Jan 2006 10:13:07 -0500 Received: (qmail 25496 invoked from network); 4 Jan 2006 15:13:02 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 4 Jan 2006 15:13:02 -0000 Date: Wed, 4 Jan 2006 17:13:02 +0200 (IST) X-X-Sender: frodo@shire.zend.office To: Lukas Smith cc: Marcus Boerger , php internals In-Reply-To: <43BBD4F6.6070506@php.net> Message-ID: References: <20060103205728.GF26280@desario.homelinux.net> <7.0.0.16.2.20060103154506.043678e8@zend.com> <829348376.20060104010548@marcus-boerger.de> <1594973025.20060104122023@marcus-boerger.de> <43BBB6A0.1070800@php.net> <43BBD4F6.6070506@php.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] __call overload detection From: stas@zend.com (Stanislav Malyshev) LS>>well in theory is_callable could also be called before __call() to save LS>>people from having to duplicate the logic from __callable() and to have the LS>>engine trigger the error. that is what i meant and like i said i do not That would be major slowdown - why should engine call additional methods? In 99.99% of cases you don't need it and actually you would _have_ to duplicate logic - once for handler that checks the callability and once for the actual __call(). -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115