Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21413 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52202 invoked by uid 1010); 4 Jan 2006 15:23:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52187 invoked from network); 4 Jan 2006 15:23:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2006 15:23:49 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:53487] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A2/EA-34518-388EBB34 for ; Wed, 04 Jan 2006 10:23:48 -0500 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 5406CDF011C; Wed, 4 Jan 2006 16:23:47 +0100 (CET) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03268-10; Wed, 4 Jan 2006 16:23:36 +0100 (CET) Received: from [127.0.0.1] (lsmith.home.cs.tu-berlin.de [130.149.150.67]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 56C71DF0067; Wed, 4 Jan 2006 16:23:36 +0100 (CET) Message-ID: <43BBE873.6090408@php.net> Date: Wed, 04 Jan 2006 16:23:31 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Stanislav Malyshev Cc: Marcus Boerger , php internals 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] __call overload detection From: lsmith@php.net (Lukas Smith) Stanislav Malyshev wrote: > 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(). I agree. All we really need a central standard that people can adhere too and I think this is within the scope of internals, but it does not need to be handled by the engine itself. regards, Lukas