3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$hoy = date("d-m-Y"); //$originalDate = "2015-08-20"; //$h = date("d-m-y", strtotime($originalDate)); //$hasta = strtotime("+10 day"); //$new_date = date('d-m-Y', $hasta); /*$new_date = "2015-08-20";*/ /*$a = strtotime($hoy); $b = strtotime($new_date); echo $hoy." - ".$new_date."\n".$a." - ".$b;*/ $a = date("d-m-Y"); echo date('d-m-Y', strtotime($a. ' + 12 days'))."\n".$a;
Output for git.master, git.master_jit, rfc.property-hooks
01-09-2015 20-08-2015

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:
296.8 ms | 405 KiB | 5 Q