Zeev, speaking of const, i have a feature request. why not accept "const" in the global context and create a compile-time global constant ? e.g.
const FOO = 1 ; const BAR = 2; class Barbara { const Barbara::BUSH = FOO; }; i'd much prefer this as an alternative to the runtime define(). l0t3k "Zeev Suraski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 07:03 23/08/2003, DvDmanDT wrote: > >Wait a sec... When did const become a keyword? > > In PHP 5.0. > > >And since when can you > >initialize variables from outside a constructor/function? > > Since PHP 3.0 :) > > Zeev > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php