hi, On Wed, May 19, 2010 at 11:03 AM, Tjerk Anne Meesters <datib...@php.net> wrote: > AFAIK class constants are optimized for speed and therefore don't > support expressions; don't expect this to change any time soon ;-)
It would require to do a two passes compilation (or something along this line) as you can define constants later in your script. They will also be defined at runtime, not at buildtime. pecl's hidef may help :). Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php