Re: Complete traits redesign for 5.5

From: Date: Thu, 20 Dec 2012 17:04:18 +0000
Subject: Re: Complete traits redesign for 5.5
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-64385@lists.php.net to get a copy of this message
On 12/20/2012 06:36 AM, Dmitry Stogov wrote: > Hi Pierre, > > The following test may crash on the second request with opcode cache. > > <?php > > trait THello { > > public function hello() { echo 'Hello'; } > } > > class TraitsTest { use THello; } > > $test = new TraitsTest(); > $test->hello(); > > ?> > > Valgrind shows the problem even if PHP doesn't crash. I'm not seeing anything from Valgrind's memcheck on this under php -S with current PHP 5.4 and APC. Testing on 64-bit Linux. -Rasmus

« previous php.internals (#64385) next »