Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79314 invoked by uid 1010); 8 Aug 2005 18:18:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79298 invoked from network); 8 Aug 2005 18:18:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2005 18:18:20 -0000 X-Host-Fingerprint: 84.57.19.170 dsl-084-057-019-170.arcor-ip.net Received: from ([84.57.19.170:28558] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 04/BF-04646-BE1A7F24 for ; Mon, 08 Aug 2005 14:18:19 -0400 To: internals@lists.php.net Date: Mon, 8 Aug 2005 20:18:16 +0200 Message-ID: <20050808201816.18af4123.pierre@dotgeek.org> References: <5.1.0.14.2.20050805135145.0366f820@localhost> <20050808093208.185bb60b.pierre@dotgeek.org> <86.75.04646.14887F24@pb1.pair.com> X-Newsreader: Sylpheed version 2.0.0beta6 (GTK+ 2.6.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 84.57.19.170 Subject: Re: RC1, instanceof? From: pierre@dotgeek.org (Pierre-Alain Joye) 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