I get a JSON response from the YouTube data API.
Here is an example response from the Title variable:
StdClass Object ([$ t] => Video Title)
How do I access the $ t variable?
$ blah โ $ t will not work because it is looking for a variable over $ t, not a member of $ blah named $ t.
source
share