Skip to content

Commit ce851cc

Browse files
committed
Zend/zend_execute_API.c: Use ZEND_FCI_INITIALIZED() macro to check if an FCI is initialized
1 parent 47b7779 commit ce851cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute_API.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ zend_result zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_
824824
return SUCCESS; /* we would result in an unstable executor otherwise */
825825
}
826826

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

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

0 commit comments

Comments
 (0)