MSSQL Connections

I just installed the PHP tools for Visual Studio with 2015 Community, and I have no issues running/debugging PHP code. However, I can't figure out how to connect to SQL Server. mssql_connect is in intellisense, but it always says it's undefined. Do you have some code samples that I can see to try and make it work?