3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mysql_connect("83.117.12.13:3306", "root", "7qeguKHe") or die(mysql_error()); echo "Connected to MySQL<br />"; ?>
based on gvjRB
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/27orF:2 Stack trace: #0 {main} thrown in /in/27orF on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9, hhvm-3.10.0 - 3.12.0
Warning: mysql_connect(): Can't connect to MySQL server on '83.117.12.13' (101) in /in/27orF on line 2 Can't connect to MySQL server on '83.117.12.13' (101)
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function mysql_connect() in /in/27orF on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: mysql_connect() [http://www.php.net/function.mysql-connect]: Can't connect to MySQL server on '83.117.12.13' (101) in /in/27orF on line 2 Can't connect to MySQL server on '83.117.12.13' (101)