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); mysql_select_db($database); echo "Koneksi Terbuka"; ?>
based on CA0rh
Output for 7.0.0 - 7.2.6
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/3uPsM:8 Stack trace: #0 {main} thrown in /in/3uPsM 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/3uPsM on line 8
Process exited with code 255.