3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = '08:30'; $now = '11:00'; $now = '14:00'; $now = '14:01'; $datas=[ ['mk'=>'abc','timeS'=>'08:00','timeF'=>'10:00'], ['mk'=>'def','timeS'=>'12:00','timeF'=>'14:00'], ['mk'=>'ghi','timeS'=>'16:00','timeF'=>'18:00'] ]; foreach($datas as $row){ if($row['timeF'] >= $now){ echo $row['mk']; break; } }
Output for rfc.property-hooks, git.master, git.master_jit
ghi

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:
106.61 ms | 1899 KiB | 4 Q