Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1935 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57321 invoked from network); 23 May 2003 16:49:33 -0000 Received: from unknown (HELO localhost.localdomain) (65.198.110.7) by pb1.pair.com with SMTP; 23 May 2003 16:49:33 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h4NGm1O21907; Fri, 23 May 2003 12:48:01 -0400 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Fri, 23 May 2003 12:48:00 -0400 To: Per Lundberg Cc: Morten Poulsen , PHP Internals List Message-ID: <20030523164758.GA21885@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , Per Lundberg , Morten Poulsen , PHP Internals List References: <1053704626.1035.21.camel@localhost.localdomain> <1053705633.1279.41.camel@salem.intra.nobolt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1053705633.1279.41.camel@salem.intra.nobolt.net> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] [PATCH] make "Call to a member function on a non-object" non-fatal From: andrei@gravitonic.com (Andrei Zmievski) On Fri, 23 May 2003, Per Lundberg wrote: > I think this patch is bad. It distorts the control flow of a normal > program. Calling member functions on a non-object is a serious error, > so the only real option IMO is dying, or throwing an exception. I agree. -Andrei * I wish life had an UNDO function. *