芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp5/includes/test/Var_Dump/bug490.phpt
--TEST-- Bug #490 : Recursions not managed. --SKIPIF-- --FILE-- 'Text')); class c_parent { function c_parent() { $this->myChild = new child($this); $this->myName = 'c_parent'; } } class child { function child(& $c_parent) { $this->myParent = & $c_parent; } } echo $vd->toString(new c_parent()); ?> --EXPECTREGEX-- object\(c_parent\)(#[0-9]+ )?\(2\) { myChild => object\(child\)(#[0-9]+ )?\(1\) { myParent => object\(c_parent\)(#[0-9]+ )?\(2\) { myChild => object\(child\)(#[0-9]+ )?\(1\) { myParent => \*RECURSION\* } myName => string\(8\) c_parent } } myName => string\(8\) c_parent }