I have an object which yields the following when var_dump()ed
object(Closure)#78 (3) {
["static"]=>
array(3) {
...
}
}
Is there a means by which i can retrieve the array labeled static?
I have tried the following:
ReflectionClass::getProperty('static');//returns property static does not exit
ReflectionClass::getStaticPropertyValue('static');//Class Closure does not have a property named static
ReflectionClass::getProperties();// returns an empty array
ReflectionClass::getStaticProperties();//returns an empty array
$obj->static;//Closure object cannot have properties
get_obj_vars($obj);//returns an empty array
(array)$obj;//wraps $obj in an array, but does not CONVERT to an array
json_decode(json_encode($obj));//returns object(stdClass)#79 (0) {}
Thanks.