3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date=date_create("2013-03-15"); echo "date =>" . date_format($date,"Y-m-d"); echo " ******** "; $date1= clone $date; date_add($date1,date_interval_create_from_date_string("40 days")); echo "date after modify date1 =>" . date_format($date1,"Y-m-d"); ?>
Output for git.master, git.master_jit, rfc.property-hooks
date =>2013-03-15 ******** date after modify date1 =>2013-04-24

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