3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
use strict; use warnings; use Date::Parse; my $input = "Mon Aug 19 09:46:11 IST 2013"; my ($ss,$mm,$hh,$day,$month,$year,$zone) = strptime($input); print "Day: $day\t"; print "Time: $hh:$mm\t"; print "Year: $year\n";<?php
Output for 5.4.0 - 5.5.3
Parse error: syntax error, unexpected end of file in /in/mnrJf on line 10
Process exited with code 255.
Output for 4.3.0 - 5.3.29
use strict; use warnings; use Date::Parse; my $input = "Mon Aug 19 09:46:11 IST 2013"; my ($ss,$mm,$hh,$day,$month,$year,$zone) = strptime($input); print "Day: $day\t"; print "Time: $hh:$mm\t"; print "Year: $year\n";<?php