so I acquired a json object from an API and json decoded it...
but then the returned object is of the following:
stdClass Object
(
[id] => stdClass Object
(
[$t] => some string
)
)
And as you can see there is a property with a $ sign in it
but when I do $object->id->$t
<--that returns error since it thinks $t is a variable
how would I go about fetching that variable with $ sign?