> something like a ReflectionReference class, which will give you the > referencing properties via ReflectionProperty instances >
I may not have the object when walking on data structures, but only the reference (in an array.) It could work this way I suppose: `ReflectionReference::fromArray(array $array, string $key): ?ReflectionReference`, returning `null` when `$array[$key]` is not a reference, and the instance otherwise. WDYT?