Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71727 invoked by uid 1010); 26 Feb 2004 19:07:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71649 invoked from network); 26 Feb 2004 19:06:59 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 26 Feb 2004 19:06:59 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i1QJ6t9b026302; Thu, 26 Feb 2004 20:06:55 +0100 Date: Thu, 26 Feb 2004 20:06:55 +0100 (CET) X-X-Sender: derick@localhost To: Zeev Suraski cc: Vivian Steller , PHP Developers Mailing List In-Reply-To: <20040226185122.34071.qmail@pb1.pair.com> Message-ID: References: <20040226185122.34071.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] PHP5: Class behavior: method overloading From: derick@php.net (Derick Rethans) On Thu, 26 Feb 2004, Vivian Steller wrote: > Fatal error: Declaration of MyClass::test() must be compatible with that of > MyParent::test() in ... on line 3 > > > I think that this is a nice feature in the face of "compatibility", but may > cause in a complete restructure of existing class trees. The consequence is > a bad :( backward compatibility!! Personally I think it would be a good > solution to set an option in the configuration or something like this. I'm afraid it even people without using a release already run into these problems the first day, then it is probably an issue for a LOT of people. Pretty please put this in E_STRICT? regards, Derick