<?php
$classes = get_declared_classes();
foreach ($classes as $className) {
$rc = new ReflectionClass($className);
try {
$obj = $rc->newInstanceWithoutConstructor();
} catch (Throwable $e) {
}
$properties = $rc->getProperties();
foreach ($properties as $property) {
try {
if ($property->isStatic()) {
} else if ($obj !== null) {
$value = $property->getValue($obj);
}
} catch (Throwable $e) {
}
}
}
/php-src/ext/dom/token_list.c:204:7: runtime error: member access within null pointer of type 'php_libxml_node_ptr' (aka 'struct _php_libxml_node_ptr')