3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $servername = "klinischonderzoek.com.mysql"; $username = "klgnischonderzo"; $password = "TSCH2014"; // Create connection $conn = mysqli_connect($servername, $username, $password); // Check connection if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } echo "Connected successfully"; ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /in/TEPQv:7 Stack trace: #0 {main} thrown in /in/TEPQv on line 7
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function mysqli_connect() in /in/TEPQv on line 7
Process exited with code 255.