3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime("2017"); var_dump($date->format('Y-m-d H:i:s')); var_dump(DateTime::getLastErrors());
Output for rfc.property-hooks, git.master_jit, git.master
string(19) "2018-11-15 20:17:00" bool(false)

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.56 ms | 1970 KiB | 4 Q