3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2018-10-31'); echo $date->format('Y-m-d'), PHP_EOL; for ($i = 0; $i < 6; ++$i) { $date->modify('last day of next month'); echo $date->format('Y-m-d'), PHP_EOL; }
Output for git.master_jit, git.master, rfc.property-hooks
2018-10-31 2018-11-30 2018-12-31 2019-01-31 2019-02-28 2019-03-31 2019-04-30

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.51 ms | 401 KiB | 8 Q