Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23753 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84340 invoked by uid 1010); 28 May 2006 18:27:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84325 invoked from network); 28 May 2006 18:27:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2006 18:27:05 -0000 X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from ([195.226.6.42:42846] helo=darkcity.gna.ch) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 43/A0-05118-87BE9744 for ; Sun, 28 May 2006 14:27:04 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 54176A7992; Sun, 28 May 2006 20:27:00 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXydyQiJ; Sun, 28 May 2006 20:26:58 +0200 (CEST) Received: from [192.168.1.42] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 8A69DA7987; Sun, 28 May 2006 20:26:57 +0200 (CEST) Message-ID: <4479EB71.4050304@cschneid.com> Date: Sun, 28 May 2006 20:26:57 +0200 User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: William Candillon CC: internals@lists.php.net References: <138663365.20060514205903@marcus-boerger.de> <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> <6610529674.20060528114142@marcus-boerger.de> <43b5c44e0605280926k6886d4f2o25c331ff3a07a009@mail.gmail.com> In-Reply-To: <43b5c44e0605280926k6886d4f2o25c331ff3a07a009@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0? From: cschneid@cschneid.com (Christian Schneider) William Candillon wrote: > I think that a macro will be a very nice and powerful solution to this > problem but according to me it needs to be done by an external tool. That already exists ;-) Try cpp -w -P -C out.php 2>/dev/null if you don't want to reinvent the wheel :-) Marcus Boerger wrote: > 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. I'm all for making it an extension which is not included in the main PHP. But your point is invalid because if a preprocessor can be done as an extension then so can be my version: It is nothing but a *very* stripped down preprocessor after all. Anyway, I don't really care too much about how such a preprocessor is done as long as a) it's not bundled with PHP by default and b) is not used as an excuse to make incompatible syntax changes without compelling reason. Regards, - Chris