3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('DB_SERVER', 'localhost:3306'); define('DB_USERNAME', 'gregb_admin'); define('DB_PASSWORD', 'jokBHYX2016@!@'); define('DB_DATABASE', 'preesclamp'); $db = mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE); ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /in/AnbEa:6 Stack trace: #0 {main} thrown in /in/AnbEa on line 6
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function mysqli_connect() in /in/AnbEa on line 6
Process exited with code 255.