Skip to content

Commit 295eddd

Browse files
committed
Fix test
1 parent f07e817 commit 295eddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysqli/tests/mysqli_fetch_field_direct.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require_once('skipifconnectfailure.inc');
4444
require_once("clean_table.inc");
4545
?>
4646
--EXPECTF--
47-
mysqli_fetch_field_direct(): Argument #2 ($offset) must be greater than or equal to 0
47+
mysqli_fetch_field_direct(): Argument #2 ($index) must be greater than or equal to 0
4848
object(stdClass)#%d (13) {
4949
["name"]=>
5050
string(2) "ID"
@@ -73,6 +73,6 @@ object(stdClass)#%d (13) {
7373
["decimals"]=>
7474
int(%d)
7575
}
76-
mysqli_fetch_field_direct(): Argument #2 ($offset) must be less than the number of fields for this result set
76+
mysqli_fetch_field_direct(): Argument #2 ($index) must be less than the number of fields for this result set
7777
mysqli_result object is already closed
7878
done!

0 commit comments

Comments
 (0)