3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hlavorativo($tstamp) { if(date('H',$tstamp)< 7 && date('H',$tstamp)>=00) { $tstamp = mktime(7, 0, 0, date("m",$tstamp), date("d",$tstamp), date("Y",$tstamp)); } elseif((date('H',$tstamp)>= 18 ) && (date('H',$tstamp)<= 23)) { $tstamp = mktime(7, 0, 0, date("m",$tstamp), date("d",$tstamp)+1, date("Y",$tstamp)); } return $tstamp; } echo hlavorativo('1413342204');
Output for git.master, git.master_jit, rfc.property-hooks
1413349200

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