summaryrefslogtreecommitdiff
path: root/Zend/tests/gc_017.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/gc_017.phpt')
-rw-r--r--Zend/tests/gc_017.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/tests/gc_017.phpt b/Zend/tests/gc_017.phpt
index 50be61025f..a1a8c3eaf6 100644
--- a/Zend/tests/gc_017.phpt
+++ b/Zend/tests/gc_017.phpt
@@ -10,7 +10,6 @@ class Node {
public $parent;
function __construct($name) {
$this->name = $name;
- $this->children = array();
$this->parent = null;
}
function insert($node) {
@@ -32,12 +31,12 @@ $a->insert($c);
unset($a);
unset($b);
unset($c);
-var_dump(gc_collect_cycles());
+var_dump(gc_collect_cycles() >= 7);
echo "ok\n"
?>
--EXPECTF--
string(1) "%s"
string(1) "%s"
string(1) "%s"
-int(10)
+bool(true)
ok