Fixed a sqlsrv test

This commit is contained in:
Jenny Tam 2018-02-08 10:12:20 -08:00
parent ebbb676b8a
commit efd9ffbf0d

View file

@ -103,7 +103,7 @@ function testInvalidValues($msodbcsqlMaj, $server, $connectionOptions)
function testEncryptedWithODBC($msodbcsqlMaj, $server, $connectionOptions)
{
// Skip this function if running outside Windows
if (!isWindows()) {
if (!(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')) {
return;
}