Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70917 invoked by uid 1010); 28 May 2006 10:12:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70902 invoked from network); 28 May 2006 10:12:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2006 10:12:07 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:39301] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 15/00-04067-57779744 for ; Sun, 28 May 2006 06:12:06 -0400 Received: from baumbart.mbo (dslb-084-063-013-138.pools.arcor-ip.net [84.63.13.138]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id F09A335C1F7; Sun, 28 May 2006 11:43:26 +0200 (CEST) Date: Sun, 28 May 2006 11:41:42 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <6610529674.20060528114142@marcus-boerger.de> To: Christian Schneider Cc: internals@lists.php.net In-Reply-To: <4A.00.38460.00959744@pb1.pair.com> 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> <44765279.8000601@akbkhome.com> <7.0.1.0.2.20060526040633.086814a0@zend.com> <4476608C.6070503@akbkhome.com> <7.0.1.0.2.20060526050422.08680c20@zend.com> <1376291629.20060526040801@marcus-boerger.de> <7.0.1.0.2.20060526120130.03c51060@zend.com> <772458214.20060527001909@marcus-boerger.de> <7.0.1.0.2.20060527173708.03b3bd18@zend.com> <962070645.20060528030350@marcus-boerger.de> <4A.00.38460.00959744@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0? From: helly@php.net (Marcus Boerger) Hello Christian, what you propose would mean a lot of changes to the php code and and the zend engine. The pre processor to allow this will be written as an extension and that extension will have no impact on anybody that doens't like it simply becuase you can disable extensions. best regards marcus Sunday, May 28, 2006, 10:01:58 AM, you wrote: > Marcus Boerger wrote: >> i for one think it might be a solution to at least lower the pain of >> version differences. Which is the reason why i liked the proposal from >> the beginning and took mentorship. > We don't need a full-blown preprocess for that. The much simpler version > switch proposed earlier would do. And this while introducing only 10% of > the debugging knightmares of a full preproc. > But then again I'm even wary of a version switch as it could lead to > code like > class A > { > declare(> php4) > { > static function foo() { ... } > } > declare(<= php4) > { > function foo() { ...} > } > } > which raises copy/paste issues. > I'd much rather see less incompatibilities introduced into PHP in an > attempt to make PHP a language is was never meant to be ;-) > - Chris Best regards, Marcus