Now we support "const FOO = BAR;" where BAR is another constant (but BAR is also a simple expression). I don't see how can we support constant expressions and don't support constants in them.
Thanks. Dmitry. > -----Original Message----- > From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 12:17 PM > To: Dmitry Stogov > Cc: 'Nuno Lopes'; internals@lists.php.net; [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] constant folding optimization > > > > In case we support constant expressions, we should support > constants > > in such expressions, but the values of these constants may > be unknown > > in compile time. > > I don't see why we should support constants in such expressions. > -- > Stanislav Malyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED] > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php