Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23242 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11230 invoked by uid 1010); 11 May 2006 12:16:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11215 invoked from network); 11 May 2006 12:16:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2006 12:16:04 -0000 X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:46901] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CD/29-19568-30B23644 for ; Thu, 11 May 2006 08:16:03 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.6/8.12.11) with ESMTP id k4BCFxkY007699 for ; Thu, 11 May 2006 14:15:59 +0200 Date: Thu, 11 May 2006 14:15:53 +0200 (CEST) X-X-Sender: derick@localhost To: PHP Developers Mailing List Message-ID: X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Stop Breaking Our Apps For the Sake of OO From: derick@php.net (Derick Rethans) Hello! While I welcome new developments in either procedural or OO interfaces in PHP I do not agree with breaking BC (between 5.1 and 5.2 in this case) just for the sake of OO purity. In this example there is the following class: which now with PHP 5.2 throws: derick@kossu:/home/httpd/ezcomponents/trunk$ php-5.2dev -l /tmp/foo42.php Fatal error: Static function ezcDbHandler::getName() cannot be abstract in /tmp/foo42.php on line 11 Errors parsing /tmp/foo42.php And it works fine in PHP 5.1. Now I know that abstract static might not make much sense OO wise, but it doesn't hurt a single bit to have it here. Breaking this just because it isn't OO enough is just bogus. So, when are we going to remove this check so that older apps work again? regards, Derick