3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date='1555133436'; $next_date = (new DateTime("@$date"))->modify('+1 day'); echo $next_date->format('Y-m-d H:i:s'); echo PHP_EOL; echo $next_date->format('U'); echo PHP_EOL; echo $date + 86400;
Output for git.master, git.master_jit, rfc.property-hooks
2019-04-14 05:30:36 1555219836 1555219836

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:
180.79 ms | 405 KiB | 5 Q