I know how PHP dynamic vars work, I know I can access object property like
$object->{'somethingWith$var'}; or like $object->$var;
But what I try to accomplish is to access $object->property->subproperty from $object and the string $string = 'property->subproperty';.
I tryed $object->$string, $object->{$string}, $object->$$string hahaha, none worked.
Does anybody know how to do this ? :)