On 01/13/2012 10:36 AM, Dmitry Stogov wrote:
It performs copying of each op_array (with all opcodes!) for each method used from trait.
That is bad, indeed.
As result some extensions (e.g. xdebug and some Zend extensions) will just crash on traits usage.
I have used PHP 5.4-dev, Xdebug 2.2-dev, and traits without problems. Xdebug's code coverage functionality "just works" with PHPUnit. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php