Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83051 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92646 invoked from network); 18 Feb 2015 12:01:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 12:01:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; 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:45543] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/9C-18888-03F74E45 for ; Wed, 18 Feb 2015 07:01:52 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 790914B029E; Wed, 18 Feb 2015 13:01:28 +0100 (CET) Reply-To: To: "'Benjamin Eberlei'" , "'Dmitry Stogov'" Cc: , "'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> In-Reply-To: Date: Wed, 18 Feb 2015 13:01:45 +0100 Message-ID: <02ff01d04b72$abae34a0$030a9de0$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIWCTr4msJ5W7DJk/lLV51yibmvdAKzGGCUAgoW0V0B+zpKeAEm3WG2Atzt2IYBTeL0owHXafdoAjxo5a0Bl7QLEwIr57iGArL7PVubtixCcA== Content-Language: fr X-Antivirus: avast! (VPS 150217-2, 17/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?=) > De : Benjamin Eberlei [mailto:kontakt@beberlei.de] > > nested can be done in any way, its a statement so the following would = work: >=20 > [new JoinColumn('id', = 'other_id')]]))> Dmitry is planning compile time evaluation, which is probably the only = way to do it if we use PHP expressions. Is class instantiation, or = function call returning a new object instance (I guess) compatible with = compile time evaluation ? More : would userland functions be available (if already defined, of = course) ? if yes, what about functions defined in the same file but = below the annotation calling it ? Two-pass ? Regards Fran=C3=A7ois