3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date('m/d/Y', strtotime(sprintf('04/04/2014 - %d days', date('w', strtotime('04/04/2014')) + 2)))); var_dump(date('m/d/Y H:i:s', strtotime('last saturday', strtotime('2014-04-03 00:00:00')))); var_dump(date('m/d/Y H:i:s', strtotime('last saturday - 7 days')));
Output for git.master, git.master_jit, rfc.property-hooks
string(10) "03/28/2014" string(19) "03/29/2014 00:00:00" string(19) "03/21/2015 00:00:00"

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.31 ms | 401 KiB | 8 Q