3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y")); $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("y")); echo "Tomorrow is ".date("Y/jS/d", $tomorrow); echo "yesterday is ".date("d-m-y",$yesterday 'a'); echo date("D jS A"); ?>
Output for 5.4.17
Parse error: syntax error, unexpected ''a'' (T_CONSTANT_ENCAPSED_STRING) in /in/2gQcr on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected ''a'' (T_CONSTANT_ENCAPSED_STRING) in EpdDr on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.24, 5.3.26
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in EpdDr on line 5
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/EpdDr on line 5
Process exited with code 255.

preferences:
176.55 ms | 1395 KiB | 52 Q