Skip to content

Commit a76bbd3

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: ext/mysqli tests "using password" optional in error messages (part 2)
2 parents 01eabdc + c21a592 commit a76bbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_connect.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ require_once('skipifconnectfailure.inc');
143143
print "done!";
144144
?>
145145
--EXPECTF--
146-
Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
146+
Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s'%r( \(using password: \w+\)){0,1}%r in %s on line %d
147147
array(1) {
148148
["testing"]=>
149149
string(21) "mysqli.default_socket"

0 commit comments

Comments
 (0)