3v4l.org

run code in 300+ PHP versions simultaneously
<?php $StartTime = "14:00"; $EndTime = "16:30"; $arr['Tennis 1']['IntervalTime']['Lun'] = ["13:00","14:00","15:00","16:00","17:00","18:00"]; foreach($arr['Tennis 1']['IntervalTime']['Lun'] as $k => $v) { if ($v >= $StartTime && $v < $EndTime) unset($arr['Tennis 1']['IntervalTime']['Lun'][$k]); } print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Tennis 1] => Array ( [IntervalTime] => Array ( [Lun] => Array ( [0] => 13:00 [4] => 17:00 [5] => 18:00 ) ) ) )

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:
61.43 ms | 402 KiB | 8 Q