3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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.