3v4l.org

run code in 300+ PHP versions simultaneously
<?php $systemTZ = new DateTimeZone("UTC"); $end = new \DateTime(""); $end->sub(new \DateInterval('P30D')); $begin= new \DateTime(""); $interval = \DateInterval::createFromDateString('1 day'); $now = new DateTime; while ($begin >= $end) { print_r($begin->format('Y-m-d')); $begin = $begin->sub($interval); }
Output for git.master, git.master_jit, rfc.property-hooks
2015-12-182015-12-172015-12-162015-12-152015-12-142015-12-132015-12-122015-12-112015-12-102015-12-092015-12-082015-12-072015-12-062015-12-052015-12-042015-12-032015-12-022015-12-012015-11-302015-11-292015-11-282015-11-272015-11-262015-11-252015-11-242015-11-232015-11-222015-11-212015-11-202015-11-192015-11-18

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.56 ms | 402 KiB | 8 Q