3v4l.org

run code in 300+ PHP versions simultaneously
<?php $edt = \DateTime::createFromFormat('Y-m-d h:i:s A T', '2020-03-10 07:37:37 PM EDT'); $est = \DateTime::createFromFormat('Y-m-d h:i:s A T', '2020-03-10 07:37:37 PM EST'); echo $edt->format(\DateTime::RFC3339), "\n"; echo $est->format(\DateTime::RFC3339), "\n";
Output for git.master, git.master_jit, rfc.property-hooks
2020-03-10T19:37:37-04:00 2020-03-10T19:37:37-05:00

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