Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21379 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71670 invoked by uid 1010); 3 Jan 2006 23:45:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71648 invoked from network); 3 Jan 2006 23:45:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jan 2006 23:45:32 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:38388] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FB/6D-34518-A9C0BB34 for ; Tue, 03 Jan 2006 18:45:31 -0500 Received: (qmail 27742 invoked from network); 3 Jan 2006 23:45:25 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 3 Jan 2006 23:45:25 -0000 Message-ID: <7.0.0.16.2.20060103154506.043678e8@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Tue, 03 Jan 2006 15:45:23 -0800 To: Andrew Yochum , php internals In-Reply-To: <20060103205728.GF26280@desario.homelinux.net> References: <20060103205728.GF26280@desario.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] __call overload detection From: andi@zend.com (Andi Gutmans) Why not just use Reflection API to check? It seems quite trivial to do so. At 12:57 PM 1/3/2006, Andrew Yochum wrote: >Currently there is no way to detect if the __call overloads a particular >method. Property overloading has __isset now in 5.1 - maybe for method >overloading the equivalent should be something like __iscallable. Maybe >method_exists should remain as is, as the method won't ever really exist >but is_callable would/could use it, or perhaps some new function. > >Is this a reasonable request? Thoughts? > >Regards, >Andrew >-- >Andrew Yochum >Plexpod >andrew@plexpod.com >718-360-0879 > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php