Re: Annotations in PHP7
| From: | Dmitry Stogov | Date: | Wed, 18 Feb 2015 17:04:52 +0000 |
| Subject: | Re: Annotations in PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83094@lists.php.net to get a copy of this message | ||
On Wed, Feb 18, 2015 at 6:14 PM, François Laupretre <francois@php.net>
wrote:
> 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.
>
right.
Again, sorry to insist ;).
>
no problem.
Thaks. Dmitry.
>
>
> 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.
>