3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Now: '; $now = new DateTime(); $now = $now->format('Y-m-d H:i:s'); echo $now; echo "\n"; echo 'One week ago: '; $oneWeekAgo = date('Y-m-d H:i:s', strtotime('-1 week')); echo $oneWeekAgo;
Output for git.master, git.master_jit, rfc.property-hooks
Now: 2014-03-07 12:35:03 One week ago: 2014-02-28 12:35:03

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:
44.62 ms | 401 KiB | 8 Q