Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23675 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87744 invoked by uid 1010); 26 May 2006 01:57:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87729 invoked from network); 26 May 2006 01:57:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2006 01:57:37 -0000 X-PHP-List-Original-Sender: alan@akbkhome.com X-Host-Fingerprint: 202.134.88.6 ip-6-88-134-202.rev.dyxnet.com Received: from ([202.134.88.6:54466] helo=raq) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 08/27-17316-09066744 for ; Thu, 25 May 2006 21:57:36 -0400 Received: from localhost ([127.0.0.1]) by raq with esmtp (Exim 4.60) (envelope-from ) id 1FjRa2-00019o-DS; Fri, 26 May 2006 09:57:34 +0800 Message-ID: <4476608C.6070503@akbkhome.com> Date: Fri, 26 May 2006 09:57:32 +0800 User-Agent: Mail/News 1.5 (X11/20060228) MIME-Version: 1.0 To: Zeev Suraski CC: Christian Schneider , internals@lists.php.net 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> In-Reply-To: <7.0.1.0.2.20060526040633.086814a0@zend.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0? From: alan@akbkhome.com (Alan Knowles) actaully it should have been declare() - as I think the syntax for that almost works already, but yes, code doesnt get compiled if it's inside a block. Regards Alan Zeev Suraski wrote: > At 03:57 26/05/2006, Alan Knowles wrote: >> Can we start concentrating on finding a real solution to BC breaks >> rather than throwing them out there and everyone complaining? >> >> define(php5) { >> stuff that breaks in php6 >> } >> define(php6) { >> stuff that doesnt work in PHP5 >> } > > What's the semantics of that? The code inside doesn't get executed if > it's not the define()'d PHP version? > > Zeev