3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // we connect to example.com and port 3307 $link = mysql_connect('185.27.134.10/main.php?token=eb8dd3960a866836caac3118ce32bf4d', 'myspn_16543937', '3jx6pfk2'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?>
based on 9Jcie
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/ppIpd:3 Stack trace: #0 {main} thrown in /in/ppIpd on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function mysql_connect() in /in/ppIpd on line 3
Process exited with code 255.