3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new DateInterval('P1D'); $startDate = new DateTime('2015-05-12'); $endDate = new DateTime('2015-05-13 23:59:59'); $period = new DatePeriod($startDate, $interval, $endDate); foreach ($period as $date) { echo $date->format('Y-m-d') . "\n"; }
Output for rfc.property-hooks, git.master, git.master_jit
2015-05-12 2015-05-13

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.43 ms | 2023 KiB | 4 Q