Skip to content

Commit

Permalink
Zend/zend_execute_API.c: Use ZEND_FCI_INITIALIZED() macro to check if…
Browse files Browse the repository at this point in the history
… an FCI is initialized
  • Loading branch information
Girgias committed Jan 31, 2025
1 parent 47b7779 commit ce851cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_execute_API.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ zend_result zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_
return SUCCESS; /* we would result in an unstable executor otherwise */
}

ZEND_ASSERT(fci->size == sizeof(zend_fcall_info));
ZEND_ASSERT(ZEND_FCI_INITIALIZED(*fci));

if (!fci_cache || !fci_cache->function_handler) {
char *error = NULL;
Expand Down

0 comments on commit ce851cc

Please sign in to comment.