3v4l.org

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