Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88702 invoked from network); 18 Feb 2015 17:04:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 17:04:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.160.180 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.160.180 mail-yk0-f180.google.com Received: from [209.85.160.180] ([209.85.160.180:50509] helo=mail-yk0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/26-56339-736C4E45 for ; Wed, 18 Feb 2015 12:04:55 -0500 Received: by mail-yk0-f180.google.com with SMTP id 131so1347311ykp.11 for ; Wed, 18 Feb 2015 09:04:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4tGrJYUIhRl/vqYWKge5rVfVxgPj3saqXIPdRKMtZTs=; b=HYIDo5vzMvcK4hPnTui725yI5PKTs+EphbUIJK10SkQB8bUGb09fCf5zZnTA1k7lHc 20LG4+B5LRKvzVR9TzOCKU+OxgsuvSG6yfzEtvfMpylIBQ6ZR/dW87oDRLRjvRb0khzI StxXqoVqB4L2l5VB9m9CiSOV6g5bvADkJc5uX7t6zNKwwE+6dlXHi+hMuw+haVYs3rvH RNRBZqiqzs586o22OQqyAlBrJz/XYdS0KmugliThNB50afWDm88kcwl4bKKT7M7iF4dw 5lTzEIX0HmShSyq+N+Rsj3vQCMjPs5DPivpgOT+NXrUUuqyd3uQjJEx86UTnUDcAXkvz gDFw== X-Gm-Message-State: ALoCoQlyk36gw/QlvV//it25F2SXdElwkmT4N8B+8XSrhvuXu91/jx6E9L1+qQgP6juT2k1dnqJQERaUFwwR8mM3rVdG4GSsdAUafFAa0gTLKsUyTPAKvEOPDCS3i/RGRq36GbjaAIZu+THmECqD39vwgRE1y/Gorg== MIME-Version: 1.0 X-Received: by 10.52.52.136 with SMTP id t8mr124670vdo.49.1424279093211; Wed, 18 Feb 2015 09:04:53 -0800 (PST) Received: by 10.52.74.73 with HTTP; Wed, 18 Feb 2015 09:04:52 -0800 (PST) In-Reply-To: <032801d04b8d$8ff3dce0$afdb96a0$@php.net> References: <02a101d04af9$507484f0$f15d8ed0$@php.net> <02ff01d04b72$abae34a0$030a9de0$@php.net> <032801d04b8d$8ff3dce0$afdb96a0$@php.net> Date: Wed, 18 Feb 2015 21:04:52 +0400 Message-ID: To: francois Cc: Benjamin Eberlei , Guilherme Blanco , Alexander Lisachenko , Nikita Popov , PHP Internals , Pierrick CHARRON , Pierre Joye , Zeev Suraski , Andi Gutmans , Joe Watkins , Yasuo Ohgaki , Sebastian Bergmann , Stanislav Malyshev , Rasmus Lerdorf Content-Type: multipart/alternative; boundary=089e0115f048697d63050f5fd128 Subject: Re: [PHP-DEV] Annotations in PHP7 From: dmitry@zend.com (Dmitry Stogov) --089e0115f048697d63050f5fd128 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Feb 18, 2015 at 6:14 PM, Fran=C3=A7ois Laupretre wrote: > Hi Dmitry, > > > > Right. That=E2=80=99s what I got from your last reply. But my question wa= s about > another post where you are talking about =E2=80=98compile time evaluation= =E2=80=99 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=E2=80=99s fine and, even, much better from a performa= nce 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=E2=80=99s all. > right. Again, sorry to insist ;). > no problem. Thaks. Dmitry. > > > Fran=C3=A7ois > > > > 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. > --089e0115f048697d63050f5fd128--