So I have this object (stdClass) that has a dynamic key.
My problem is since my key is dynamic (e.g Date, time, id).
How will I get the value of that dynamic key. without looping it (for the sake of neatness of the code)
Example : stdClass { [*dynamic key (e.g Date, Time. ID)*] : value }
P.S I'm just looking for an alternative way to get the value, I'm thinking of something like this $stdClass->{dynamic_key}