// ignore failing __debugInfo()
$hasDebugInfo = false;
} } $a =
$obj instanceof \Closure ?
[] :
(array) $obj;
if ($obj instanceof \__PHP_Incomplete_Class
) { return $a;
} $classProperties = self::
$classProperties[$class] ??= self::
getClassProperties(new \
ReflectionClass($class));
$a =
array_replace($classProperties,
$a);
if ($a) { $debugClass ??=
get_debug_type($obj);
$i = 0;
$prefixedKeys =
[];
foreach ($a as $k =>
$v) { if ("\0"
!== ($k[0
] ?? ''
)) { if (!
isset($classProperties[$k])) { $prefixedKeys[$i] = self::PREFIX_DYNAMIC.
$k;
}