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 & tests/run-test/test008a.phpt). they
appear because of the "division by zero" warning. This problem still
needs to be fixed before commiting the patch.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php