--TEST-- ReflectionObject::__construct - invalid arguments --FILE-- --EXPECTF-- Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 3 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" } Warning: ReflectionObject::__construct() expects parameter 1 to be object, string given in %s on line 4 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" } Warning: ReflectionObject::__construct() expects exactly 1 parameter, 2 given in %s on line 6 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" } Warning: ReflectionObject::__construct() expects parameter 1 to be object, int given in %s on line 7 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" } Warning: ReflectionObject::__construct() expects parameter 1 to be object, null given in %s on line 8 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" } Warning: ReflectionObject::__construct() expects parameter 1 to be object, array given in %s on line 9 object(ReflectionObject)#%d (1) { ["name"]=> string(0) "" }