Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68561 invoked from network); 23 May 2003 22:42:44 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 23 May 2003 22:42:44 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h4NMgegZ018863; Sat, 24 May 2003 00:42:40 +0200 Date: Sat, 24 May 2003 00:42:40 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: Morten Poulsen cc: PHP Internals List In-Reply-To: <1053727702.616.1.camel@marvin> Message-ID: References: <1053704626.1035.21.camel@localhost.localdomain> <1053705633.1279.41.camel@salem.intra.nobolt.net> <1053726799.493.12.camel@marvin> <20030523215728.GC1758@hyperion.gravitonic.com> <1053727702.616.1.camel@marvin> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [PATCH] make "Call to a member function on a non-object" non-fatal From: derick@php.net (Derick Rethans) On Sat, 24 May 2003, Morten Poulsen wrote: > On Fri, 2003-05-23 at 23:57, Andrei Zmievski wrote: > > Calling a member function on a null should not even happen in production > > environment, if you architecture your application properly. > > Correct. "Should not," but they do. We can not prevent everybody's mistakes. There are enough other ways to shoot yourself in the knee. Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------