Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25281 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9605 invoked by uid 1010); 10 Aug 2006 11:02:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9590 invoked from network); 10 Aug 2006 11:02:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2006 11:02:49 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.168 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.168:26732] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id A4/D7-08715-7521BD44 for ; Thu, 10 Aug 2006 07:02:49 -0400 Received: by ug-out-1314.google.com with SMTP id k3so460960ugf for ; Thu, 10 Aug 2006 04:02:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MO1sRdErmC/afBhhLwxTAvfg8HkSzozmrGX4XltQAHhDGRYmF6KjfHAhwVDy0F02AesnZFOnY7fKcUoV26A4TYWnMelhzV7669e5/60wkGA/VI0xyTYeYkxGsE70drty8DSX10D7628exnSFFZWoLONZBOjFw61ZXuelh1g5Z80= Received: by 10.67.29.12 with SMTP id g12mr2371693ugj; Thu, 10 Aug 2006 04:02:45 -0700 (PDT) Received: by 10.66.248.15 with HTTP; Thu, 10 Aug 2006 04:02:43 -0700 (PDT) Message-ID: Date: Thu, 10 Aug 2006 13:02:43 +0200 To: "Michael Walter" Cc: "Lukas Kahwe Smith" , internals@lists.php.net In-Reply-To: <877e9a170608100354n239cd1f0q1f44bef9680ce91d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <877e9a170608100302n6407821dw5e55187332b74f4f@mail.gmail.com> <44DB0DB5.6000707@php.net> <877e9a170608100354n239cd1f0q1f44bef9680ce91d@mail.gmail.com> Subject: Re: [PHP-DEV] Re: Fatal errors From: pierre.php@gmail.com (Pierre) Hello, On 8/10/06, Michael Walter wrote: > Yeah. It is problematic that the application has no chance of dealing > with the errors itself (consider e.g. php-shell which has to go great > lengths to prevent fatal errors from user code leading to php-shell's > termination, and still fails at doing this in the general case). Why object should act differently than other php variables or constants? Undefined constant, variable, index or offset do not raise a fatal error. It should be the same for the object (constants, props, visibility,...). --Pierre