Bug #60912 ยป stdclass.diff
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php | ||
---|---|---|
if (!$plainText) {
|
||
$dump .= '<a name="' . spl_object_hash($object) . '" id="' . spl_object_hash($object) . '"></a>';
|
||
}
|
||
$classReflection = new \ReflectionClass(get_class($object));
|
||
$properties = $classReflection->getProperties();
|
||
if (get_class($object) == 'stdClass') {
|
||
$objReflection = new \ReflectionObject($object);
|
||
$properties = $objReflection->getProperties();
|
||
} else {
|
||
$classReflection = new \ReflectionClass(get_class($object));
|
||
$properties = $classReflection->ogetProperties();
|
||
}
|
||
foreach ($properties as $property) {
|
||
if (self::isBlacklisted($property)) {
|
||
continue;
|