3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $user_name = "root"; $password = ""; $database = "nyekripdatabase"; $host_name = "localhost"; mysql_connect($host_name, $user_name, $password); echo "Koneksi Terbuka"; ?>
based on unKpj
Output for 7.0.0 - 7.3.0rc4
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/YWq9H:8 Stack trace: #0 {main} thrown in /in/YWq9H on line 8
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function mysql_connect() in /in/YWq9H on line 8
Process exited with code 255.