3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <html> <head> <title><?php echo $pageTitle; ?></title> </head> <body> <ul> <?php foreach ($array as $item) {?> <li><?php echo $item; ?></li> <?php } ?> </ul> </body> </html>
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '<' in /in/1IPOr on line 2
Process exited with code 255.