--TEST-- Test that right braces are escaped correctly and that error messages are correct when they're not --SKIPIF-- --FILE-- $test[0], 'pwd'=>$password, 'LoginTimeout'=>1)); if (strpos(sqlsrv_errors()[0][2], $test[1]) === false) { print_r("Wrong error message returned for test string ".$test[0].". Expected ".$test[1].", actual output:\n"); print_r(sqlsrv_errors()); } unset($conn); } echo "Done.\n"; ?> --EXPECT-- Done.