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('Asia/Yekaterinburg'); // 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 8Ndqb
Output for 5.4.34 - 5.4.45, 5.5.18 - 7.2.0
Thursday 2nd of April 2015 01:12:01 PM
Output for 5.1.0 - 5.4.32, 5.5.0 - 5.5.16
Thursday 2nd of April 2015 02:12:01 PM
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/5QeNX 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/5QeNX 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/5QeNX 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/5QeNX on line 3