Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:16744 php.internals:16746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2252 invoked by uid 1010); 16 Jun 2005 16:57:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2234 invoked from network); 16 Jun 2005 16:57:18 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 16 Jun 2005 16:57:18 -0000 X-Host-Fingerprint: 64.233.184.192 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.192:41386] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 72/9A-20931-96FA1B24 for ; Thu, 16 Jun 2005 12:57:13 -0400 Received: by wproxy.gmail.com with SMTP id 70so550798wra for ; Thu, 16 Jun 2005 09:57:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OLX5Vjz/k/UGje1zsLWSmqyW/LgVa2LilmfEMeGCMSCoQO9cYHPloGcFsLOR5Litd5VaNZiQaKawfyUvC1MNVa72YMJ0UQVdX7SEZwbgNwQSm/GEtV4k34Qe5+PkUiTWAGXRwBMrq2taKxLqzmawQ78EG+5q4aqmXQ8f/c3Sbj4= Received: by 10.54.51.26 with SMTP id y26mr746823wry; Thu, 16 Jun 2005 09:57:06 -0700 (PDT) Received: by 10.54.153.5 with HTTP; Thu, 16 Jun 2005 09:56:16 -0700 (PDT) Message-ID: <4e89b42605061609564779d301@mail.gmail.com> Date: Thu, 16 Jun 2005 12:56:16 -0400 Reply-To: Wez Furlong To: Andi Gutmans Cc: Michael Wallner , internals@lists.php.net In-Reply-To: <5.1.0.14.2.20050616082119.084e0010@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5.1.0.14.2.20050616064434.039ac470@localhost> <5.1.0.14.2.20050616072410.0378ea10@localhost> <73.8A.20931.52391B24@pb1.pair.com> <5.1.0.14.2.20050616082119.084e0010@localhost> Subject: Re: [PHP-DEV] while we're at it (PHP-5.1 & instanceof) From: kingwez@gmail.com (Wez Furlong) It seems a bit over-zealous to throw a fatal error when you're writing code to avoid a fatal error. If autoload fails, instanceof should simply return false. --Wez. On 6/16/05, Andi Gutmans wrote: > Because it's a generic way of fetching classes and there's no reason to > change it. > If there's a real problem then email me. >=20 > Andi >=20 > At 04:55 PM 6/16/2005 +0200, Michael Wallner wrote: > >Hi Andi Gutmans, you wrote: > > > > > instanceof calls __autoload() > > > >Well, what for I wonder? > >If the class is not defined, no object can be an instance of it... > > > >Regards, > >-- > >Michael - < mike(@)php.net > >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >