RE: [PHP-DEV] Annotations in PHP7
| From: | François Laupretre | Date: | Wed, 18 Feb 2015 15:14:15 +0000 |
| Subject: | RE: [PHP-DEV] Annotations in PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83080@lists.php.net to get a copy of this message | ||
Hi Dmitry,
Right. That’s what I got from your last reply. But my question was about another post where you
are talking about ‘compile time evaluation’ of expressions, which is different from the bare
key/value storage I understood first, and poses the problem of compile time evaluation scope (which
also exists at runtime).
If you just store the expression as a bare string or AST without evaluating it, that’s fine and,
even, much better from a performance point of view. I just want to make it clear for me and everyone
that there will be no possibility of compile time evaluation. That’s all.
Again, sorry to insist ;).
François
I answer the last time.
Annotations is just a key value storage, where value may be AST for php expression.
Your may do with it whatever you like (traverse, evaluate, compile), but PHP core itself is not
going to do anything.
Thanks. Dmitry.