3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = '2019-10-10 18:25:00'; $durations = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]; foreach($durations as $duration) { $date = new DateTime($time); $date->add(new DateInterval('PT'.$duration.'S')); echo $date->format('Y-m-d H:i:s').PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
2019-10-10 18:25:10 2019-10-10 18:25:20 2019-10-10 18:25:30 2019-10-10 18:25:40 2019-10-10 18:25:50 2019-10-10 18:26:00 2019-10-10 18:26:10 2019-10-10 18:26:20 2019-10-10 18:26:30 2019-10-10 18:26:40

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