3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '26/10/1992'; $dateNew = '1992-10-26 12:12:12'; var_dump(DateTime::createFromFormat('d/m/Y', $date)); var_dump(new DateTime($dateNew));
Output for git.master_jit, git.master, rfc.property-hooks
object(DateTime)#1 (3) { ["date"]=> string(26) "1992-10-26 14:26:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "1992-10-26 12:12:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }

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:
95.89 ms | 402 KiB | 8 Q