Re: RC1, instanceof?
| From: | Pierre-Alain Joye | Date: | Mon, 08 Aug 2005 18:18:16 +0000 |
| Subject: | Re: RC1, instanceof? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17619@lists.php.net to get a copy of this message | ||
On Mon, 08 Aug 2005 18:26:30 +0200
mike@php.net (Michael Wallner) wrote:
> Hi Pierre-Alain Joye, you wrote:
>
> > I can write a patch to "fix" it if we agree that the current
> > behavior is not correct.
>
> While you're at it, could you continue on fixing the following:
> (another evidence that the current "generic" behaviour is bad)
>
> try {
> // anything
> } catch (NonExistantException $e) {
> }
>
> Fatal error: Class 'NonExistantException' not found
You try to declare (if it get catched) a non existent class. Not
really related to instanceof, it's like a new nonexistantclass;
--Pierre