3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isCheckInTooSoon($lowerLimit) { //$currentHours = $this->get('TimeService')->getCurrentHour(); $currentHours = date('Hi'); return $currentHours < $lowerLimit; } function isCheckInAfterCheckOutLimit($upperLimit) { //$currentHours = $this->get('TimeService')->getCurrentHour(); $currentHours = date('Hi'); return $currentHours > $upperLimit; } print_r('is it too soon?'); var_dump(isCheckInTooSoon('0815')); print_r('is it too late?'); var_dump(isCheckInAfterCheckOutLimit('2000'));
Output for git.master, git.master_jit, rfc.property-hooks
is it too soon?bool(false) is it too late?bool(false)

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