3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dia = date("l"); $hora = explode(":", date("H:i")); var_dump($hora); print(intval($hora[0])); if ( ($dia == "Wednesday") && (intval($hora[0]) >= 3 && intval($hora[1]) >= 30) ) { print("TRUE");} else { print("FALSE"); } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> string(2) "02" [1]=> string(2) "51" } 2FALSE