3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = new DateTime('2013-10-25 19:45'); $d_tomorrow = new DateTime ( 'tomorrow +1day', 'Europe/Kiev'); echo $d_tomorrow->format('d.m.Y H:i');
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: DateTime::__construct(): Argument #2 ($timezone) must be of type ?DateTimeZone, string given in /in/usgaq:3 Stack trace: #0 /in/usgaq(3): DateTime->__construct('tomorrow +1day', 'Europe/Kiev') #1 {main} thrown in /in/usgaq on line 3
Process exited with code 255.

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