3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // set the default timezone to use. Available since PHP 5.1 date_default_timezone_set('Etc/GMT+5'); // Prints something like: Monday 8th of August 2005 03:12:46 PM echo date('l jS \of F Y h:i:s A'); ?>
based on D09L0
Output for 5.1.0 - 7.2.0
Thursday 2nd of April 2015 03:10:38 AM
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/8Ndqb on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/8Ndqb on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/8Ndqb on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/8Ndqb on line 3