3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 'PHP TUTORIAL' ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php echo $var ?></title> </head> <body> <h3><?php echo $var ?></h3> </body> </html>
based on MSlZl
Output for 4.3.0 - 7.1.0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>PHP TUTORIAL</title> </head> <body> <h3>PHP TUTORIAL</h3> </body> </html>