fqqdk wrote: > How about extending the usage of the 'final' keyword to support a java-like > syntax? > > class Foo { > private static final $bar = 'ex' . 'pression';
In my book "final" in Java gets an award for sickest abuse of a keyword. So no, I don't consider this an option. Simply use a class variable (or define()) if you need to store some runtime calculated value. "But <insert other language> can do this" alone is not sufficient as a reason to bloat PHP IMHO. - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php