3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); } $date = strtotime('6/8/2013 1:01:27 AM'); echo date('r', $date);
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Sat, 08 Jun 2013 01:01:27 +0000
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.0.5
Sat, 08 Jun 2013 01:01:27 +0200
Output for 4.3.0 - 4.3.10, 5.0.0 - 5.0.3
Sat, 8 Jun 2013 01:01:27 +0200