- file_get_contents: documentation ( source)
- var_dump: documentation ( source)
- json_decode: documentation ( source)
<?php
$urlTestsList= "http://test.psychologies.com/export/last-tests/30";
$jsonTestsList = file_get_contents($urlTestsList);
$tests = json_decode($jsonTestsList);
var_dump($urlTestsList);
die;
?>