3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_date = strtotime(date("g:00 a")); if (strtotime("2:00 am") < $current_date) && $current_date < strtotime("11:00 am")) { print("Buya"); } ?>
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in /in/IHo20 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_BOOLEAN_AND in /in/IHo20 on line 3
Process exited with code 255.