Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21395 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48629 invoked by uid 1010); 4 Jan 2006 09:16:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48614 invoked from network); 4 Jan 2006 09:16:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2006 09:16:58 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:43866] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 51/70-34518-9829BB34 for ; Wed, 04 Jan 2006 04:16:58 -0500 Received: (qmail 1799 invoked from network); 4 Jan 2006 09:16:53 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 4 Jan 2006 09:16:53 -0000 Date: Wed, 4 Jan 2006 11:16:53 +0200 (IST) X-X-Sender: frodo@shire.zend.office To: Marcus Boerger cc: php internals In-Reply-To: <829348376.20060104010548@marcus-boerger.de> Message-ID: References: <20060103205728.GF26280@desario.homelinux.net> <7.0.0.16.2.20060103154506.043678e8@zend.com> <829348376.20060104010548@marcus-boerger.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] __call overload detection From: stas@zend.com (Stanislav Malyshev) MB>> the point is probably that there is no way in determinig whether a MB>>certain function is supposed to work prior to calling it. This is the case for all functions. For example, if you call mysql_query, you have no way of knowing if it would succeed prior to calling it. So __call is not much different - you know it will call __call but you don't know if the call would succeed. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115