Re: RFC: Traits for PHP

From: Date: Tue, 19 Feb 2008 15:59:19 +0000
Subject: Re: RFC: Traits for PHP
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-35597@lists.php.net to get a copy of this message
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

« previous php.internals (#35597) next »