3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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('wGi'); var_dump($h); var_dump($d); var_dump($m); var_dump($dd);
based on pf3sE
Output for 4.3.0 - 7.1.0
string(2) "10" string(1) "3" string(2) "25" string(5) "31025"