3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = time(); //$m1 = date_i18n("F-Y",$date); $end = $date + (12 * 60); //$m2 = date_i18n("F-Y",$end); echo date("d-F-Y",$date); echo "<br/>" echo date("d-F-Y",$end); ?>
Output for 5.4.13
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/79BF9 on line 8
Process exited with code 255.
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in XURUf on line 8
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /in/79BF9 on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in XURUf on line 8
Process exited with code 255.

preferences:
178.88 ms | 1395 KiB | 45 Q