3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date('Y-m-d H:m:s'); $i=0; while($i<10) { $days = $i * 7; echo $date = date('Y-m-d H:m:s', strtotime($date. $days.' days')); $i++; }
Output for git.master, git.master_jit, rfc.property-hooks
2016-05-11 18:05:322016-05-18 18:05:322016-06-01 18:06:322016-06-22 18:06:322016-07-20 18:07:322016-08-24 18:08:322016-10-05 18:10:322016-11-23 18:11:322017-01-18 18:01:322017-03-22 18:03:32

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