3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP Tutorial'; ?> <!DOCTYPE html> <head> <title><?php echo $var;?></title> </head> <body> <h3><?php echo $var;?></h3> <a href=#><?php echo $var; ?></a> </body>
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected ';' (T_STRING) in /in/8HPqJ on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/8HPqJ on line 2
Process exited with code 255.

preferences:
175.45 ms | 1399 KiB | 66 Q