summaryrefslogtreecommitdiff
path: root/Zend/tests/gc_017.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-08-13 12:08:59 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-08-13 12:08:59 +0200
commitf0f3fe0b6c2eb93ff01058f389e6ae2a93ea20d4 (patch)
tree6c187013ba354b6eb0eed931a996e927d7c8cd21 /Zend/tests/gc_017.phpt
parent7bd2b9d2e6ae5ab85f01311fab585b0e4e56acd4 (diff)
downloadphp-git-f0f3fe0b6c2eb93ff01058f389e6ae2a93ea20d4.tar.gz
Don't include non-refcounted structures in GC count
Diffstat (limited to 'Zend/tests/gc_017.phpt')
-rw-r--r--Zend/tests/gc_017.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/gc_017.phpt b/Zend/tests/gc_017.phpt
index a1a8c3eaf6..102c2b6bcb 100644
--- a/Zend/tests/gc_017.phpt
+++ b/Zend/tests/gc_017.phpt
@@ -31,12 +31,12 @@ $a->insert($c);
unset($a);
unset($b);
unset($c);
-var_dump(gc_collect_cycles() >= 7);
+var_dump(gc_collect_cycles());
echo "ok\n"
?>
--EXPECTF--
string(1) "%s"
string(1) "%s"
string(1) "%s"
-bool(true)
+int(4)
ok