I've make a simple code to have the title of a video youtube in PHP and JSON, but I have a problem now.

Here's my code: 

```
<?php
    $url = 'http://gdata.youtube.com/feeds/api/videos/';
    $vid = $video['video_id'];
    $end = '?format=5&alt=json';
    $response = file_get_contents($url.$vid.$end);
    $obj = json_decode($response);
?>
<?php print_r($obj->entry->title); ?>

```

My `print_r` print this : 

> 
> stdClass Object ( [$t] => Title of the video [type] => text )
> 
> 
> 

How I am suppose to get this `$t`?