Re: Urgent patch for traits in PHP 5.4

From: Date: Fri, 13 Jan 2012 09:59:00 +0000
Subject: Re: Urgent patch for traits in PHP 5.4
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-57339@lists.php.net to get a copy of this message
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/

« previous php.internals (#57339) next »