3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <head> <title><?php $var ?> </title> <title </head> <body> <title><?php $var ?> </title> <?php $var ="title"; ?> </body> </html>
based on EGdW0
Output for 5.1.0 - 7.1.0
<html> <head> <title> </title> <title </head> <body> <title> </title> </body> </html>
Output for 5.0.4 - 5.0.5
<html> <head> <title> Notice: Undefined variable: var in /in/3m1Ne on line 3 </title> <title </head> <body> <title> Notice: Undefined variable: var in /in/3m1Ne on line 7 </title> </body> </html>
Output for 4.3.0 - 5.0.3
<html> <head> <title> Notice: Undefined variable: var in /in/3m1Ne on line 3 </title> <title </head> <body> <title> Notice: Undefined variable: var in /in/3m1Ne on line 7 </title> </body> </html>