XML/RSS Weirdness

From: Date: Mon, 17 Feb 2003 08:47:15 +0000
Subject: XML/RSS Weirdness
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13401@lists.php.net to get a copy of this message
Hello, am using XML/RSS in the following manner
       $rss = new XML_RSS($channel);
       $rss->parse();
       $feeds = $rss->getItems();
at this stage $fedds is an empty array, while the rss file is a valid url
       $rss =& new XML_RSS($channel);
       $rss->parse();
       $feeds = $rss->getItems();
doing the above seems to work, can anyone explain why (martin?), I don't have a problem with using it like this but I really hate coding by coincedence so I would like to know, the source has not reveal anything for me, maybe am not a jedi yet Yavor

« previous php.pear.dev (#13401) next »