3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); $timestamp = mktime(0,0,0,11,1,2014); var_dump(strtotime('4 thursdays', $timestamp)); var_dump(strtotime('first thursday + 3 weeks', $timestamp)); date_default_timezone_set('America/Chicago'); $timestamp = mktime(0,0,0,11,1,2014); var_dump(strtotime('4 thursdays', $timestamp)); var_dump(strtotime('first thursday + 3 weeks', $timestamp));
Output for git.master, git.master_jit
int(1417068000) int(1417046400) int(1417068000) int(1417068000)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
14.8 ms | 459 KiB | 5 Q