> From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] 
>
> But how would you know the class is missing? Maybe next 
> loader in chain 
> would find it.

IMO, the point, here, is that, if the requested class starts with 'PEAR2', by 
convention, this name space is reserved and cannot be resolved by another 
handler. So, it is legitimate to want the PEAR2 autoload handler to display a 
message explaining how to get the missing package. But I wouldn't attempt to 
enrich the interpreter's 'not found' message, I would instead just have the 
handler trigger a warning message. The user would just receive 2 messages: an 
'information' warning and a fatal error.

Regards

Francois

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

Reply via email to