Re: constant folding optimization

From: Date: Sat, 08 Sep 2007 18:51:59 +0000
Subject: Re: constant folding optimization
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-32122@lists.php.net to get a copy of this message
Well we don't support that syntax at this moment. If you are saying that we could add support for such syntax.. it does seem a good idea, but in that case we would need to modify a few rules of the grammar (like adding a const_expr production, and allow static_scalar derive it, etc..).
Right, that's what I had in mind. That doesn't seem to break anything and allows also a little more freedom. let's see if anyone objects. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32122) next »