3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $server = 'service.davenportmotorco.com'; $link = mysql_connect($server, jdixon, jdixon); ?>
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/MnGQP:4 Stack trace: #0 {main} thrown in /in/MnGQP on line 4
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Warning: mysql_connect(): Unknown MySQL server host 'service.davenportmotorco.com' (111) in /in/MnGQP on line 4
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function mysql_connect() in /in/MnGQP on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Warning: mysql_connect(): Unknown MySQL Server Host 'service.davenportmotorco.com' (11) in /in/MnGQP on line 4
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Notice: Use of undefined constant jdixon - assumed 'jdixon' in /in/MnGQP on line 4 Warning: mysql_connect() [http://www.php.net/function.mysql-connect]: Unknown MySQL Server Host 'service.davenportmotorco.com' (11) in /in/MnGQP on line 4