3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array1 = [1,2]; $array2 = [3,4]; $date = new DateTime('0000-00-00 00:00:00'); echo $date->format('Y-m-d');
Output for git.master_jit, git.master
-0001-11-30

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:
39.43 ms | 698 KiB | 4 Q