3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Now = new DateTime(); echo $Now->format('Y-m-d') . '\n'; // 2014-06-12 $Duration = new DateInterval('PT1M'); // 1minute $Now->add( $Duration ); echo $Now->format('Y-m-d'); // 2014-07-12 $Duration = new DateInterval('P1D'); // 1Day $Now->sub( $Duration ); echo $Now->format('Y-m-d'); // 2014-05-12
Output for git.master, git.master_jit, rfc.property-hooks
2015-12-02\n2015-12-022015-12-01

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