On Wed, 14 Aug 2013, Patrick Schaaf wrote: > Would this allow using constants, too? Class constants? > > const FOO = 1; > const BAR = self::FOO + 1; > const BAZ = self::FOO + 2; > const BARF = GLOBAL_BARF; > const IMPORT = otherclass::IMPORT; // with autoloading? > > In my opinion these would start to make the feature useful.
Those are not constants, but expressions which can't be run during compile time. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php