Abstaract Syntax Tree, that should be evaluated at run-time
> by
> zval_update_constant().
> Thanks. Dmitry.
>> -Original Message-
>> From: Nuno Lopes [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, September 08, 2007 10:50 PM
>> To: Stanislav Malyshev
>> Cc: i
tant().
>
> > Thanks. Dmitry.
>
> >> -Original Message-
> >> From: Nuno Lopes [mailto:[EMAIL PROTECTED]
> >> Sent: Saturday, September 08, 2007 10:50 PM
> >> To: Stanislav Malyshev
> >> Cc: internals@lists.php.net;
mitry.
>> -Original Message-
>> From: Nuno Lopes [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, September 08, 2007 10:50 PM
>> To: Stanislav Malyshev
>> Cc: internals@lists.php.net; [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> Subject: Re: Re: [PHP-DEV] constant fo
v [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 10, 2007 12:17 PM
> To: Dmitry Stogov
> Cc: 'Nuno Lopes'; internals@lists.php.net; [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] constant folding optimization
>
>
> > In case we support constant expressions, we should s
In case we support constant expressions, we should support constants in such
expressions, but the values of these constants may be unknown in compile
time.
I don't see why we should support constants in such expressions.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://
EMAIL PROTECTED]
> Subject: Re: Re: [PHP-DEV] constant folding optimization
>
>
> >> I made a patch to implement constant folding optimization in the
> >> Zend engine.
> >> The patch is available at:
> >> http://web.ist.utl.pt/nuno.lopes/zend_constan
Well we don't support that syntax at this moment. If you are saying
that we could add support for such syntax.. it does seem a good
idea, but in that case we would need to modify a few rules of the
grammar (like adding a const_expr production, and allow
static_scalar derive it, etc..).
Ri
Well we don't support that syntax at this moment. If you are saying that
we could add support for such syntax.. it does seem a good idea, but in
that case we would need to modify a few rules of the grammar (like
adding a const_expr production, and allow static_scalar derive it, etc..).
Right,
I made a patch to implement constant folding optimization in the
Zend engine.
The patch is available at:
http://web.ist.utl.pt/nuno.lopes/zend_constant_folding.txt
I like the idea a lot, however I think this patch has one
significant downside - as far as I understand, it doesn't enable
co
I made a patch to implement constant folding optimization in the Zend
engine.
The patch is available at:
http://web.ist.utl.pt/nuno.lopes/zend_constant_folding.txt
I like the idea a lot, however I think this patch has one significant
downside - as far as I understand, it doesn't enable constan
Hi,
I made a patch to implement constant folding optimization in the Zend engine.
The patch is available at:
http://web.ist.utl.pt/nuno.lopes/zend_constant_folding.txt
Please review & commit.
Regards,
Nuno
P.S.: 'make test' shows 2 regressions with this patch
(tests/run-test/test005.phpt
11 matches
Mail list logo