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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php