3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = date('G'); //set variable $h to the hour of the day $d = date('w'); //set variable $d to the day of the week $m = date('i'); //set variable $m to minute of the hour $dd = date('wHi'); var_dump($h); var_dump($d); var_dump($m); var_dump($dd); if (($dd > 40830) && ($dd < 61730)) { echo "we are open"; }
Output for git.master, git.master_jit, rfc.property-hooks
string(2) "10" string(1) "3" string(2) "35" string(5) "31035"

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