3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($h = 1; $h < 48; $h++) { $dt = new DateTime(sprintf("2018-03-25 %02u:%02u:00", $h / 2, ($h % 2) * 30)); echo $dt->format("Y-m-d H:i:s -> "); $dt->setTime(0, 0, 0); echo $dt->format("Y-m-d H:i:s\n"); }
Output for git.master, git.master_jit, rfc.property-hooks
2018-03-25 00:30:00 -> 2018-03-25 00:00:00 2018-03-25 01:00:00 -> 2018-03-25 00:00:00 2018-03-25 01:30:00 -> 2018-03-25 00:00:00 2018-03-25 03:00:00 -> 2018-03-25 00:00:00 2018-03-25 03:30:00 -> 2018-03-25 00:00:00 2018-03-25 03:00:00 -> 2018-03-25 00:00:00 2018-03-25 03:30:00 -> 2018-03-25 00:00:00 2018-03-25 04:00:00 -> 2018-03-25 00:00:00 2018-03-25 04:30:00 -> 2018-03-25 00:00:00 2018-03-25 05:00:00 -> 2018-03-25 00:00:00 2018-03-25 05:30:00 -> 2018-03-25 00:00:00 2018-03-25 06:00:00 -> 2018-03-25 00:00:00 2018-03-25 06:30:00 -> 2018-03-25 00:00:00 2018-03-25 07:00:00 -> 2018-03-25 00:00:00 2018-03-25 07:30:00 -> 2018-03-25 00:00:00 2018-03-25 08:00:00 -> 2018-03-25 00:00:00 2018-03-25 08:30:00 -> 2018-03-25 00:00:00 2018-03-25 09:00:00 -> 2018-03-25 00:00:00 2018-03-25 09:30:00 -> 2018-03-25 00:00:00 2018-03-25 10:00:00 -> 2018-03-25 00:00:00 2018-03-25 10:30:00 -> 2018-03-25 00:00:00 2018-03-25 11:00:00 -> 2018-03-25 00:00:00 2018-03-25 11:30:00 -> 2018-03-25 00:00:00 2018-03-25 12:00:00 -> 2018-03-25 00:00:00 2018-03-25 12:30:00 -> 2018-03-25 00:00:00 2018-03-25 13:00:00 -> 2018-03-25 00:00:00 2018-03-25 13:30:00 -> 2018-03-25 00:00:00 2018-03-25 14:00:00 -> 2018-03-25 00:00:00 2018-03-25 14:30:00 -> 2018-03-25 00:00:00 2018-03-25 15:00:00 -> 2018-03-25 00:00:00 2018-03-25 15:30:00 -> 2018-03-25 00:00:00 2018-03-25 16:00:00 -> 2018-03-25 00:00:00 2018-03-25 16:30:00 -> 2018-03-25 00:00:00 2018-03-25 17:00:00 -> 2018-03-25 00:00:00 2018-03-25 17:30:00 -> 2018-03-25 00:00:00 2018-03-25 18:00:00 -> 2018-03-25 00:00:00 2018-03-25 18:30:00 -> 2018-03-25 00:00:00 2018-03-25 19:00:00 -> 2018-03-25 00:00:00 2018-03-25 19:30:00 -> 2018-03-25 00:00:00 2018-03-25 20:00:00 -> 2018-03-25 00:00:00 2018-03-25 20:30:00 -> 2018-03-25 00:00:00 2018-03-25 21:00:00 -> 2018-03-25 00:00:00 2018-03-25 21:30:00 -> 2018-03-25 00:00:00 2018-03-25 22:00:00 -> 2018-03-25 00:00:00 2018-03-25 22:30:00 -> 2018-03-25 00:00:00 2018-03-25 23:00:00 -> 2018-03-25 00:00:00 2018-03-25 23:30:00 -> 2018-03-25 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:
49.19 ms | 405 KiB | 8 Q