Re: __call overload detection

From: Date: Tue, 03 Jan 2006 23:45:23 +0000
Subject: Re: __call overload detection
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-21379@lists.php.net to get a copy of this message
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


« previous php.internals (#21379) next »