3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $db = mysqli_init(); $db->real_connect("db4free.net","evalphp","evalphp","evalphp"); var_dump($db->get_charset());
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /in/Vogfp:3 Stack trace: #0 {main} thrown in /in/Vogfp on line 3
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function mysqli_init() in /in/Vogfp on line 3
Process exited with code 255.