PHP + load file from URL = crash

I’m not aware if there is a bug with the file_get_contents function but this one should be running flawlessly. Its intention is to go to the URL and store the text (which happens to be an XML file) to $contents. However, every time I run it, I get the windows error “PHP interpreter has encountered a problem and needs to close”.

<?php
$contents = file_get_contents('http://xml.weather.yahoo.com/forecastrss?p=24083');
echo $contents;
?>

I’m using PHP 4 with allow_url_fopen enabled. Anyone know how to get around this?

Thanks in advance,
Matt