I reported this BUG at php.bugs as http://bugs.php.net/?id=25323. It's there for 13 days now and still no answer... :-(
Cristiano Duarte "Cristiano Duarte" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Is this suppose to work ? Currently it does not. > > class Priority { > const DEBUG = 0; > const INFO = 1; > const WARN = 2; > const ERROR = 3; > const FATAL = 4; > > const MAX_PRIORITY = FATAL; > } > > class ExtendedPriority extends Priority { > const REMOTE = Priority::MAX_PRIORITY + 1; > const URGENT = Priority::MAX_PRIORITY + 2; > } > > if it's not supposed to work, there is also some parser problem in ZE2 that > accepts a constant expression based on string concatenation(This code causes > segmentation fault): > > class test { > const TEST = "hi"; > const TEST1 = self::TEST . "ih"; > } > > Cristiano Duarte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php