Skip to content

Commit a188868

Browse files
Update ext/mysqli/tests/mysqli_set_opt.phpt
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent 072d1a4 commit a188868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_set_opt.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require_once 'skipifconnectfailure.inc';
2828

2929
try {
3030
var_dump(mysqli_set_opt($link, MYSQLI_CLIENT_SSL, 'not an mysqli_option'));
31-
} catch (Error $exception) {
31+
} catch (ValueError $exception) {
3232
echo $exception->getMessage() . "\n";
3333
}
3434

0 commit comments

Comments
 (0)