3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_default_timezone_get() . "\n"; date_default_timezone_set('UTC'); $timestamp = mktime(0,0,0,11,1,2014); echo strtotime('4 thursdays', $timestamp) . "\n"; echo strtotime('first thursday + 3 weeks', $timestamp) . "\n";

preferences:
34.66 ms | 402 KiB | 5 Q