haha... no i don't think so.
Can you try this example
try {
$hostname = "ADMIN\SQLEXPRESS";
$dbname = "testdb";
$username = "sa";
$pw = "adm1n";
$dbh = new PDO ("mssql:host=$hostname;dbname=$dbname","$username" ,"$pw");
} catch (PDOException $e) {
echo "Connection failed because: " . $e->getMessage() . "\n";
exit;
}
That should write out your exception.. However someone of the PHP guys here may have a better way of doing it.. but that should work