3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(null !==(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 '}', expecting ',' or ';' in /in/4JLRm on line 6
Process exited with code 255.