Skip to content

Commit 3a633b3

Browse files
Update ext/mysqli/tests/mysqli_options.phpt
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent 8193542 commit 3a633b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/mysqli/tests/mysqli_options.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var_dump("MYSQLI_CLIENT_SSL");
6464

6565
try {
6666
var_dump(mysqli_options($link, MYSQLI_CLIENT_SSL, 'not a mysqli_option'));
67-
} catch (Error $exception) {
67+
} catch (ValueError $exception) {
6868
echo $exception->getMessage() . "\n";
6969
}
7070

0 commit comments

Comments
 (0)