1--TEST-- 2PDO_DBLIB: \PDO::DBLIB_ATTR_TDS_VERSION exposes a string or false 3--EXTENSIONS-- 4pdo_dblib 5--SKIPIF-- 6<?php 7require __DIR__ . '/config.inc'; 8?> 9--FILE-- 10<?php 11require __DIR__ . '/config.inc'; 12 13$version = $db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION); 14var_dump((is_string($version) && strlen($version)) || $version === false); 15 16?> 17--EXPECT-- 18bool(true) 19