Skip to content

Commit ff70646

Browse files
kamil-tekielanikic
andcommitted
make the parameter properly nullable
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
1 parent 562a852 commit ff70646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/mysqli_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
816816
unsigned int i;
817817
#endif
818818

819-
if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|a", &mysql_stmt, mysqli_stmt_class_entry, &input_params) == FAILURE) {
819+
if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|a!", &mysql_stmt, mysqli_stmt_class_entry, &input_params) == FAILURE) {
820820
RETURN_THROWS();
821821
}
822822
MYSQLI_FETCH_RESOURCE_STMT(stmt, mysql_stmt, MYSQLI_STATUS_VALID);

0 commit comments

Comments
 (0)