1--TEST-- 2ReflectionObject::__toString() : very basic test with no dynamic properties 3--FILE-- 4<?php 5 6class Foo { 7 public $bar = 1; 8} 9$f = new foo; 10 11echo new ReflectionObject($f); 12 13?> 14--EXPECTF-- 15Object of class [ <user> class Foo ] { 16 @@ %s 3-5 17 18 - Constants [0] { 19 } 20 21 - Static properties [0] { 22 } 23 24 - Static methods [0] { 25 } 26 27 - Properties [1] { 28 Property [ <default> public $bar ] 29 } 30 31 - Dynamic properties [0] { 32 } 33 34 - Methods [0] { 35 } 36} 37