You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/functional/pdo_sqlsrv/pdo_construct_dsn_error.phpt
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -105,17 +105,15 @@ catch( PDOException $e ) {
105
105
}
106
106
107
107
108
-
?>
109
-
110
-
--EXPECTREGEX--
111
-
112
-
An extra semi-colon was encountered in the DSN string at character \(byte-count\) position '[0-9]+' \.
113
-
An unescaped right brace \(\}\) was found in the DSN string for keyword 'Database'\. All right braces must be escaped with another right brace \(\}\}\)\.
114
-
An expected right brace \(\}\) was not found in the DSN string for the value of the keyword 'Database'\.
115
-
An invalid value was specified for the keyword 'Database' in the DSN string\.
116
-
The DSN string ended unexpectedly\.
117
-
An invalid DSN string was specified\.
118
-
Server keyword was not specified in the DSN string\.
108
+
?>
109
+
--EXPECTF--
110
+
An extra semi-colon was encountered in the DSN string at character (byte-count) position '%d' .
111
+
An unescaped right brace (}) was found in the DSN string for keyword 'Database'. All right braces must be escaped with another right brace (}}).
112
+
An expected right brace (}) was not found in the DSN string for the value of the keyword 'Database'.
113
+
An invalid value was specified for the keyword 'Database' in the DSN string.
114
+
The DSN string ended unexpectedly.
115
+
An invalid DSN string was specified.
116
+
Server keyword was not specified in the DSN string.
Copy file name to clipboardExpand all lines: test/functional/pdo_sqlsrv/pdo_utf8_conn.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ if ($c !== false) {
22
22
?>
23
23
--EXPECTREGEX--
24
24
25
-
Fatal error: Uncaught PDOException: SQLSTATE\[(28000|08001|HYT00)\]: .*\[Microsoft\]\[ODBC Driver 1[0-9] for SQL Server\](\[SQL Server\])?(Named Pipes Provider: Could not open a connection to SQL Server \[2\]\. |TCP Provider: Error code (0x2726|0x2AF9)|Login timeout expired|Login failed for user 'sa'\.) in .+(\/|\\)pdo_utf8_conn\.php:[0-9]+
25
+
Fatal error: Uncaught PDOException: SQLSTATE\[(28000|08001|08S01|HYT00)\]: .*\[Microsoft\]\[ODBC Driver [0-9]+ for SQL Server\](\[SQL Server\])?(Named Pipes Provider: Could not open a connection to SQL Server \[2\]\. |TCP Provider: Error code (0x[0-9a-fA-F]+)|SSL Provider: .*|Login timeout expired|Login failed for user 'sa'\.) in .+(\/|\\)pdo_utf8_conn\.php:[0-9]+
0 commit comments