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('4 thursdays', $timestamp); var_dump('first thursday + 3 weeks', $timestamp); date_default_timezone_set('America/Chicago'); $timestamp = mktime(0,0,0,11,1,2014); var_dump('4 thursdays', $timestamp); var_dump('first thursday + 3 weeks', $timestamp);
Output for git.master, git.master_jit, rfc.property-hooks
string(11) "4 thursdays" int(1414800000) string(24) "first thursday + 3 weeks" int(1414800000) string(11) "4 thursdays" int(1414818000) string(24) "first thursday + 3 weeks" int(1414818000)

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:
57.83 ms | 405 KiB | 9 Q