zapobieganie kursom

<?php
  
// xml file path
$path = "https://www.autoblog.co.za/post/rss.xml";
  
// Read entire file into string
$xmlfile = file_get_contents($path);
  
// Convert xml string into an object
$new = simplexml_load_file($xmlfile);
  
// Convert into json
$con = json_encode($new);
  
// Convert into associative array
$newArr = json_decode($con, true);
  
print_r($xmlfile);
  
?>
Awful Ant