- file_get_contents: documentation ( source)
- var_dump: documentation ( source)
- json_decode: documentation ( source)
<?php
$json_agents = file_get_contents('http://vegas.retsmls.com/wp-content/themes/idxguys/lib/widgets/widget-agent-related/xml_query.php');
$json_array_agents = json_decode($json_agents,TRUE);
var_dump($json_agents);