Re: __call overload detection

From: Date: Wed, 04 Jan 2006 22:20:45 +0000
Subject: Re: __call overload detection
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-21425@lists.php.net to get a copy of this message
> 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. > This'll do what you want: http://libssh2.org/dist/callable-1.0.tgz It's PEAR packaged so compiling/installing should be simple enough.... Dunno if it's worth dropping into PECL though... -Sara

« previous php.internals (#21425) next »