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.

Regards,

William

On 5/28/06, Marcus Boerger <[EMAIL PROTECTED]> wrote:
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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php




--
William Candillon
Telecom Lille Student
E-mail: [EMAIL PROTECTED]
Tel: +33(0) 6 67 99 13 16
CV: http://wcandillon.netcv.org
Resume: http://wcandillon.en.netcv.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to