title: Simplepie shows php code
body: <p>I am using SimplePie for Yahoo weather forecast. I am on a new Server and now the output looks like this:</p>
  
  <pre><code>set_feed_url($path . $code); $feed-&gt;set_item_class('SimplePie_Item_YWeather'); $feed-&gt;init(); function time2minuts($time) { $minuts = 0; $atime = explode(" ", $time); $ttime = explode(":", $atime[0]); if ($atime[1] == "pm") { if ((int)$ttime[0]!=12) $ttime[0] = $ttime[0] + 12; } $minuts = (int)$ttime[0] * 60 + (int)$ttime[1]; return $minuts; } $weather = $feed-&gt;get_item(0); $fore = $weather-&gt;get_forecasts(); $unit = $weather-&gt;get_units_temp(); $ampm = "n"; // indica noche $icon = $weather-&gt;get_condition_code(); // Calculamos la hora de Mallorca en minutos $curday = time2minuts(date("g:i a")); //echo $curday.'---'.date('h:m d.m.y').'---'.date("g:i a"); $iniday = time2minuts($weather-&gt;get_sunrise()); $endday = time2minuts($weather-&gt;get_sunset()); if ($curday &gt; $iniday &amp;&amp; $curday &lt; $endday) { $ampm = "d"; // indica dia } $land = $weather-&gt;get_country(); if($land == 'Spain') { $land = 'Spanien'; } ?&gt;
  </code></pre>
  
  <p>This is my php code. My PHP Version is 5.5.9-1ubuntu4.6 simplepie 1.3.1</p>
  
  <p>Thank you for your help,</p>
  
  <p>mallmis</p>