com php-src: Fix test gc_029_zts.phpt: Zend/tes ts/gc_029_zts.phpt

From: Date: Fri, 03 Oct 2014 22:37:15 +0000
Subject: com php-src: Fix test gc_029_zts.phpt: Zend/tes ts/gc_029_zts.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82091@lists.php.net to get a copy of this message
Commit: f1e21c4979f215112f9a30bc9e6e4a1ebd5a32de Author: Nikita Popov <nikic@php.net> Sat, 4 Oct 2014 00:32:32 +0200 Parents: 2fd7d60ea06aa07b99dc219655be7ab42b7e2e16 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f1e21c4979f215112f9a30bc9e6e4a1ebd5a32de Log: Fix test gc_029_zts.phpt In ZTS the default properties are duplicated (instead of copied), so the array has one lower RC than on NTS and as such gets destroyed during GC, increasing the cycle count by 3. PHP 5.6 didn't always copy default properties on ZTS, which is where the difference comes from. Changed paths: M Zend/tests/gc_029_zts.phpt Diff: diff --git a/Zend/tests/gc_029_zts.phpt b/Zend/tests/gc_029_zts.phpt index fc77e1f..5d16e83 100644 --- a/Zend/tests/gc_029_zts.phpt +++ b/Zend/tests/gc_029_zts.phpt @@ -34,4 +34,4 @@ unset($bar); var_dump(gc_collect_cycles()); ?> --EXPECT-- -int(3) +int(6)

« previous php.cvs (#82091) next »