Covert posts.php to PHP 5.3 format arrays