3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data_r = time() - 1366409103; if($data_r < 3600) $timedisplay = "minutę temu"; elseif($data_r > (3600*2)) $timedisplay = "2 minuty temu"; elseif($data_r > 3600*3) $timedisplay = "3 minuty temu"; elseif($data_r > (3600*4)) $timedisplay = "4 minuty temu"; elseif($data_r > (3600*5) ) $timedisplay = "5 minut temu"; elseif($data_r > (3600*6)) $timedisplay = "7 minut temu"; elseif($data_r > (3600*7))$timedisplay = "8 minut temu"; elseif($data_r > (3600*9) )$timedisplay = "9 minut temu"; elseif($data_r > (3600*10) )$timedisplay = "10 minut temu"; elseif($data_r > (3600*15) )$timedisplay = "15 minut temu"; elseif($data_r > (3600*20 )) $timedisplay = "20 minut temu"; elseif($data_r > (3600*30)) $timedisplay = "30 minut temu"; elseif($data_r > (3600*45)) $timedisplay = "45 minut temu"; elseif($data_r > (3600*60)) $timedisplay = "godzinę temu"; elseif($data_r > (3600*120)) $timedisplay = "2 godziny temu"; elseif($data_r > (3600*(60*3))) $timedisplay = "3 godziny temu"; elseif($data_r > (3600*(60*4))) $timedisplay = "4 godziny temu"; elseif($data_r > (3600*(60*5))) $timedisplay = "5 godzin temu"; elseif($data_r > (3600*(60*24))) $timedisplay = "dzisiaj"; elseif($data_r > (3600*(60*24)) < (3600*((60*24)*7))) $timedisplay = "w tym tygodniu"; elseif($data_r > (3600*((60*24)*7)) < (3600*((60*24)*30))) $timedisplay = "w tym miesiącu"; elseif($data_r > (3600*((60*24)*30)) < (3600*((60*24)*360))) $timedisplay = "kilka miesięcy temu"; elseif($data_r > (3600*((60*24)*360))) $timedisplay = "{$anndate} {$anntime}";
Output for 5.3.0 - 5.4.14
Parse error: syntax error, unexpected '<' in /in/8NF30 on line 23
Process exited with code 255.