Re: Re: RC1, instanceof?

From: Date: Mon, 08 Aug 2005 18:17:03 +0000
Subject: Re: Re: RC1, instanceof?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-17618@lists.php.net to get a copy of this message
Hello Michael, Monday, August 8, 2005, 6:26:30 PM, you 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 This is a very different topic. While "instanceof missingclass" can never result to any problem the former violates hard coded requirements. Thus i think dropping the message from instanceof is acceptable - but i am not going to decide this so don't take my second thoughts on this one too serious. Best regards, Marcus

« previous php.internals (#17618) next »