3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_date = strtotime(date("g:00 a")); foreach len($nonNewDay) as $index { if ((strtotime("2:00 pm") <= $current_date) && ($current_date < strtotime("11:00 pm"))) { print("Buya"); } print($index); } ?>
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected 'len' (T_STRING), expecting '(' in LMYRp on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_STRING, expecting '(' in LMYRp on line 3
Process exited with code 255.

preferences:
172.98 ms | 1395 KiB | 41 Q