Re: [PATCH] No runtime fetching of built-in global constants
| From: | Matt Wilmas | Date: | Fri, 29 Aug 2008 19:12:37 +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 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40142@lists.php.net to get a copy of this message | ||
Hi Stas,
----- Original Message -----
From: "Stanislav Malyshev"
Sent: Friday, August 29, 2008
> 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.
I'm not sure what you mean, does not compile? Nothing has been changed that
should affect any code like your example...
- Matt