3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month=12; $year=2014; $startdate = strtotime($year.'-'.$month.'-1'); $stopdate = strtotime('last day of this month ',$startdate); echo date('Y-m-d',$startDate).' - '.date('Y-m-d',$stopDate);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $startDate in /in/tAgoJ on line 8 Warning: Undefined variable $stopDate in /in/tAgoJ on line 8 2014-07-05 - 2014-07-05

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