--TEST-- Bug #69579 (Internal trait double-free) --SKIPIF-- <?php if (!PHP_DEBUG) die("skip only run in debug version"); ?> --FILE-- <?php class Bar{ use _ZendTestTrait; } $bar = new Bar(); var_dump($bar->testMethod()); // destruction causes a double-free and explodes ?> --EXPECT-- bool(true)