On Wed, 4 Jan 2006, Stanislav Malyshev wrote:

> MB>>  the point is probably that there is no way in determinig whether a 
> MB>>certain function is supposed to work prior to calling it.
> 
> This is the case for all functions. For example, if you call mysql_query, 
> you have no way of knowing if it would succeed prior to calling it. So 
> __call is not much different - you know it will call __call but you don't 
> know if the call would succeed.

That is not fully true, as you can use function_exists() on mysql_query, 
where there is no such possibility for methods that are overloaded with 
__call().

Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to