3v4l.org

run code in 300+ PHP versions simultaneously
<?php mysql_connect("localhost", "io1a_127315", "127315"); mysql_select_db ("io1a_127315"); $result = mysql_query("SELECT * FROM Producten WHERE id = '".$_GET['id']."'"); echo $data["Naam"] . " "; echo ":"; echo $data["Platform"] . " "; } ?>
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected '}', expecting end of file in /in/fs0B9 on line 8
Process exited with code 255.
Output for 5.5.24 - 5.5.31, 5.6.8 - 5.6.17
Parse error: syntax error, unexpected '}' in /in/fs0B9 on line 8
Process exited with code 255.

preferences:
194.48 ms | 1399 KiB | 28 Q