3v4l.org

run code in 300+ PHP versions simultaneously
<?php // set the default timezone to use. Available since PHP 5.1 date_default_timezone_set('Etc/GMT+4'); // Prints something like: Monday 8th of August 2005 03:12:46 PM echo date('l jS \of F Y h:i:s A'); ?>

preferences:
37.2 ms | 402 KiB | 5 Q