Re: RFC: Traits for PHP

From: Date: Wed, 20 Feb 2008 09:39:30 +0000
Subject: Re: RFC: Traits for PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35647@lists.php.net to get a copy of this message
Hi Derick, > 1. can traits be put in a file of their own (I assume so actually) > 2. can traits be autoloaded? yes, since traits are zend_class_entrys with ce_flags set to ZEND_ACC_TRAIT in the current implementation, they will follow the same rules for definition and autoloading like classes. Kind Regards Stefan

« previous php.internals (#35647) next »