Re: __call overload detection
| From: | Stanislav Malyshev | Date: | Wed, 04 Jan 2006 09:24:20 +0000 |
| Subject: | Re: __call overload detection | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21397@lists.php.net to get a copy of this message | ||
DR>>That is not fully true, as you can use function_exists() on
DR>>mysql_query, where there is no such possibility for methods that are
DR>>overloaded with __call().
That's correct, of course - this is the whole point of __call - it makes
_any_ function exist. Now, calling these functions may succeed or fail -
just as calling any other functions may succeed or fail.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115