3v4l.org

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