Marcus Boerger wrote: > Hello Stefan, > > any dynamic aspect of a class has brought us to problems in inheritance > and required us to design the objct/compile model in a way that > inheritance often is done at run time. Imo traits are a way out of this. > In fact I'd love to issue a deprecated message as soon as class is found > outside of a main block.
That would mean deprecating autoload as well since autoloading a class is effectively the same as defining it outside of the main block. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php