3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php if(isset(mysql_query("SELECT polltitle FROM Activepoll ORDER BY `id` DESC LIMIT 1");)){ echo mysql_query("SELECT polltitle FROM Activepoll ORDER BY `id` DESC LIMIT 1"); else{echo No active poll.}; } ?>
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '<' in /in/3BMH3 on line 2
Process exited with code 255.