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.
This commit is contained in:
Nikita Popov 2014-10-04 00:32:32 +02:00
parent 2fd7d60ea0
commit f1e21c4979

View File

@ -34,4 +34,4 @@ unset($bar);
var_dump(gc_collect_cycles());
?>
--EXPECT--
int(3)
int(6)