3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php echo "Your User Agent is :" . $_SERVER ['HTTP_USER_AGENT']; ?> - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.FHBegcev.dpuf
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '<' in /in/MjMQJ on line 1
Process exited with code 255.