I decode some JSON (from the Youtube data API) using json_decode, and it gives me an object that looks like this when var_dump () ed:
object(stdClass)[29]
public 'type' => string 'text' (length=4)
public '$t' => string 'Miley and Mandy! KCA VIDEO WINNERS' (length=34)
How can I access the $ t element?
source
share