Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40141 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29408 invoked from network); 29 Aug 2008 18:54:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2008 18:54:45 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:64804] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/24-10364-3F548B84 for ; Fri, 29 Aug 2008 14:54:44 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 29 Aug 2008 21:55:44 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 29 Aug 2008 11:55:40 -0700 Message-ID: <48B8462C.5090908@zend.com> Date: Fri, 29 Aug 2008 11:55:40 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Matt Wilmas CC: internals@lists.php.net, Dmitry Stogov References: <00ea01c8a160$2edd8160$0201a8c0@pc1> <016c01c8eccd$e28cfac0$0201a8c0@pc1> <488835D0.1040005@zend.com> <00e501c8ed77$3498cf20$0201a8c0@pc1> <48889901.8000008@zend.com> <015101c8f306$34c358f0$0201a8c0@pc1> <4891CC46.2020208@zend.com> <020e01c8f32e$a82a9fb0$0201a8c0@pc1> <4891F189.7030202@zend.com> <00be01c90919$0592d0f0$0201a8c0@pc1> <48B7BF19.5020007@zend.com> <012201c909bd$580f0ca0$0201a8c0@pc1> <48B7C8E7.5030307@zend.com> <018501c909c0$02544de0$0201a8c0@pc1> In-Reply-To: <018501c909c0$02544de0$0201a8c0@pc1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Aug 2008 18:55:40.0915 (UTC) FILETIME=[D52AFC30:01C90A08] Subject: Re: [PHP-DEV] [PATCH] No runtime fetching of built-in global constants From: stas@zend.com (Stanislav Malyshev) Hi! > Yeah, it's to make sure something like -CONST in ZEND_CT context doesn't > work sometimes, sometimes not. My previous message (first part): > http://marc.info/?l=php-internals&m=121750618525882&w=2 There's also a thing that now code like: $var = 3/0; (of course, it could be more complex - both 3 and 0 could be constants) does not compile, even though it may never in fact run, so there might be some BC issues. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com