We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ccbc9 commit 39ae5a6Copy full SHA for 39ae5a6
ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt
@@ -132,8 +132,9 @@ require_once 'skipifconnectfailure.inc';
132
133
try {
134
new mysqli_result($link, $mode);
135
- printf("[009] Expecting ValueError because of invalid resultmode\n");
136
- } catch (ValueError $ex) {}
+ } catch (ValueError $ex) {
+ echo $ex->getMessage(), "\n";
137
+ }
138
139
print "done!";
140
?>
@@ -165,4 +166,5 @@ mysqli_result->unknown = ''
165
166
167
Constructor:
168
mysqli_result object is already closed
169
+mysqli_result::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT
170
done!
0 commit comments