3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $server = "//193.9.122.30"; // Datenbankserver $user = "martinsberg"; // Datenbank User $pass = "R6ZLHjvvvcAySS2j"; // Datenbank Passwort $datenbank = "martinsberg"; // Datenbank Name $conn = @mysql_connect($server, $user, $pass); @mysql_select_db($datenbank, $conn); if ($conn!=TRUE) { echo "Verbindungsfehler: ".mysql_error()." !! Versuchen Sie es zu einem sp&auml;teren Zeitpunkt nochmals. Danke."; die; } echo "Connected"; ?>
based on JVUst
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/KsaG7:8 Stack trace: #0 {main} thrown in /in/KsaG7 on line 8
Process exited with code 255.
Output for 5.3.19 - 5.6.28

Process exited with code 255.