3v4l.org

run code in 300+ PHP versions simultaneously
<?php $am = DateTime::createFromFormat('h:i A','1:00 AM'); echo $am->format('d M y H:i'); echo $am->format('d M y h:i A'); $pm = DateTime::createFromFormat('h:i A','1:00 PM'); echo $pm->format('d M y H:i'); echo $pm->format('d M y h:i A');
Output for git.master, git.master_jit, rfc.property-hooks
28 Sep 15 01:0028 Sep 15 01:00 AM28 Sep 15 13:0028 Sep 15 01:00 PM

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