3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "<!DOCTYPE HTML>\n"; echo "<html>\n"; echo "<body>\n"; echo "<h1>Test</h1>\n"; echo "</body>\n"; echo "</html>\n"; ?>
Output for 4.3.0 - 7.2.0
<!DOCTYPE HTML> <html> <body> <h1>Test</h1> </body> </html>