3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("America/Chicago"); $timestamp = mktime(0,0,0,11,1,2014); $a = strtotime('4 thursdays', $timestamp); $b = strtotime('first thursday + 3 weeks', $timestamp); echo date(DateTime::ISO8601, $a), "\n"; echo date(DateTime::ISO8601, $b), "\n";

preferences:
41.68 ms | 402 KiB | 5 Q