Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57223 invoked from network); 18 Feb 2015 15:14:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 15:14:24 -0000 Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:34649] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/00-56339-D4CA4E45 for ; Wed, 18 Feb 2015 10:14:23 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 1643F4B017C; Wed, 18 Feb 2015 16:13:57 +0100 (CET) Reply-To: To: "'Dmitry Stogov'" 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'" References: <02a101d04af9$507484f0$f15d8ed0$@php.net> <02ff01d04b72$abae34a0$030a9de0$@php.net> In-Reply-To: Date: Wed, 18 Feb 2015 16:14:15 +0100 Message-ID: <032801d04b8d$8ff3dce0$afdb96a0$@php.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0329_01D04B95.F1B97D60" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIWCTr4msJ5W7DJk/lLV51yibmvdAKzGGCUAgoW0V0B+zpKeAEm3WG2Atzt2IYBTeL0owHXafdoAjxo5a0Bl7QLEwIr57iGArL7PVsBHjkQqgF/2Yawm6FuwbA= Content-Language: fr X-Antivirus: avast! (VPS 150218-0, 18/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Annotations in PHP7 From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) ------=_NextPart_000_0329_01D04B95.F1B97D60 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Dmitry, =20 Right. That=E2=80=99s what I got from your last reply. But my question = was 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). =20 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 = 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=E2=80=99s all. =20 Again, sorry to insist ;). =20 Fran=C3=A7ois =20 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. ------=_NextPart_000_0329_01D04B95.F1B97D60--