3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hoy = strtotime(date("Y-m-d").' 04:00:00'); echo $hoy; echo "\n"; echo strtotime(date("Y-m-d", strtotime("-1 day")).' 04:00:00'); echo date('Y-m-d h:i:s')
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/K1jT0 on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/K1jT0 on line 8
Process exited with code 255.

preferences:
182.97 ms | 1399 KiB | 53 Q