3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base = DateTime::createFromFormat('!Y-m-d H:i:s', '2018-08-20 12:34:56'); echo DateTime::createFromFormat('!Y-m-d H:i:s d', $base->format('Y-m-d H:i:s 21'))->format("Y-m-d H:i:s\n"); echo DateTime::createFromFormat('!U d', $base->format('U 21'))->format("Y-m-d H:i:s\n");
Output for git.master, git.master_jit, rfc.property-hooks
2018-08-21 12:34:56 2018-08-21 10:34:56

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