diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index f803dfe836b..5e8a52f7e54 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -640,7 +640,7 @@ static bool pdo_call_fetch_object_constructor(zend_function *constructor, HashTa zval retval_constructor_call; zend_fcall_info fci = { .size = sizeof(zend_fcall_info), - .function_name = {}, + .function_name = { 0 }, .object = Z_OBJ_P(return_value), .retval = &retval_constructor_call, .param_count = 0, diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 23eb95c4d7e..d0491f62552 100644 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -3086,7 +3086,7 @@ PHP_FUNCTION(iterator_apply) spl_iterator_apply_info apply_info = { .count = 0, .params_ht = NULL, - .fcc = {}, + .fcc = { 0 }, }; /* The HashTable is used to determine positional arguments */