Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40835 invoked by uid 1010); 25 May 2006 13:39:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40820 invoked from network); 25 May 2006 13:39:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2006 13:39:08 -0000 X-Host-Fingerprint: 217.162.171.242 217-162-171-242.dclient.hispeed.ch Received: from ([217.162.171.242:19271] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 82/AE-17316-C73B5744 for ; Thu, 25 May 2006 09:39:08 -0400 To: internals@lists.php.net,Marcus Boerger Message-ID: <4475B376.3020506@cschneid.com> Date: Thu, 25 May 2006 15:39:02 +0200 User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 References: <138663365.20060514205903@marcus-boerger.de> <038d01c676f8$ab9b3380$6602a8c0@foxbox> <44685D24.2000801@php.net> <1147708994.14148.23.camel@notebook.local> <16710545416.20060515202714@marcus-boerger.de> <1147721541.14148.47.camel@notebook.local> <4468DB43.1020005@emini.dk> <7.0.1.0.2.20060515194051.02b32ef8@zend.com> <1148496966.19173.79.camel@notebook.local> <454303585.20060524213714@marcus-boerger.de> <622454478.20060525145308@marcus-boerger.de> In-Reply-To: <622454478.20060525145308@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 217.162.171.242 Subject: Re: [PHP-DEV] fatal static call in php 6.0? From: cschneid@cschneid.com (Christian Schneider) Marcus Boerger wrote: > There is no way you can write heavy oo using code that supports PHP 4 > and PHP 5.2 without a version check every here and there, so i don't see I'm not talking about heavy OO code. Just very basic one which static methods are used as sort-of namespaces. And that works perfectly well in PHP 4 and PHP 5. I'm just trying to point out that OO in PHP isn't all or nothing and the argument "if you don't need it, don't use it" has implications on how BC is treated. Requiring the static keyword with PHP 6 on the other hand means you get a compilation error with PHP 4. - Chris