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().
It's going to be runtime either way, because you could do if (...) { const FOO = 1; } else {const FOO = 2 }. Not sure if we want it as syntactic sugar for define() or not.
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php