- file_get_contents: documentation ( source)
- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$file = file_get_contents('http://www.yahoo.com/youtube/v3/videos?part=contentDetails%2Csnippet%2Cstatistics&maxResults=1&id=rF_2pqJ86L4');
$json = json_decode($file, true);
print_r($json);