On Wed, 2010-06-09 at 10:51 +0200, Frederic Hardy wrote:
> > See zval_update_constant_ex in zend_API.c as a starting point. While
> > such an approach would also require some parser work and some clever
> > idea where/how to store the expression to be evaluated etc.

> So, it's possible ?
> Very good news.

Everything is "possible". The question is how maintainable the solution
would be, how much of an performance impact it has etc. That I don't
know. It might turn out not to be acceptable. I just gave a starting
point in case somebody has the time needed for some experiments.

As always: Ideas, there are many. They need developers who have time and
motivation to do it.

johannes




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

Reply via email to