--TEST-- Bug #3416 : PHP5 Protected and private attributes not shown. --SKIPIF-- --FILE-- 'Text')); class foo { public $bar1 = 'value1'; protected $bar2 = 'value2'; private $bar3 = 'value3'; } echo $vd->toString(new foo()); ?> --EXPECTREGEX-- object\(foo\)(#[0-9]+ )?\(3\) { bar1 => string\(6\) value1 bar2:protected => string\(6\) value2 bar3:private => string\(6\) value3 }