3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "2017-02-04"; $in_time = "07:00"; echo date("l", strtotime($date)); if(date("l", strtotime$date)) != "Friday") echo "bbb"; $out_time = "16:00";
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '$date' (T_VARIABLE), expecting ',' or ')' in /in/dmNo1 on line 7
Process exited with code 255.

preferences:
161.84 ms | 1395 KiB | 36 Q