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, rfc.property-hooks
int(1417046400) 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:
33.68 ms | 401 KiB | 8 Q