4 ini_set("display_errors", 0);
5 ini_set("log_errors", 1);
7 $what = !empty($argv[1]) ?
$argv[1] : "latest";
9 if (($sxe = simplexml_load_file("http://pecl.php.net/feeds/$what.rss"))) {
10 foreach ($sxe->item
as $item) {
11 $url = (string) $item->link
;
12 printf("%s\t%s\t%s\n", basename(dirname($url)), basename($url), $url);