3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $server = "CASPER\SQLEXPRESS"; $myUser = "sa"; $myPass = "sa123"; $myDB = "AdisyonDB"; echo('zort'); // Connect to MSSQL $link = mssql_connect($server, 'sa', 'sa123'); echo('zort'); if (!$link) { die('Something went wrong while connecting to MSSQL'); } ?>
based on PXBtk
Output for 7.0.0 - 7.2.6
zort Fatal error: Uncaught Error: Call to undefined function mssql_connect() in /in/i4qgd:11 Stack trace: #0 {main} thrown in /in/i4qgd on line 11
Process exited with code 255.
Output for 5.0.0 - 5.6.28
zort Fatal error: Call to undefined function mssql_connect() in /in/i4qgd on line 11
Process exited with code 255.
Output for 4.4.5 - 4.4.9
zort Fatal error: Call to undefined function: mssql_connect() in /in/i4qgd on line 11
Process exited with code 255.
Output for 4.3.2 - 4.4.4
zort Fatal error: Call to undefined function: mssql_connect() in /in/i4qgd on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1
zort Fatal error: Call to undefined function: mssql_connect() in /in/i4qgd on line 11