Re: [PATCH] No runtime fetching of built-in global constants
| From: | Stanislav Malyshev | Date: | Fri, 29 Aug 2008 18:55:40 +0000 |
| Subject: | Re: [PATCH] No runtime fetching of built-in global constants | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40141@lists.php.net to get a copy of this message | ||
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=2There'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