We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c553c3f commit 59a4590Copy full SHA for 59a4590
Zend/zend_variables.c
@@ -51,6 +51,10 @@ static const zend_rc_dtor_func_t zend_rc_dtor_func[] = {
51
[IS_CONSTANT_AST] = (zend_rc_dtor_func_t)zend_ast_ref_destroy
52
};
53
54
+#if ZEND_GCC_VERSION >= 4006
55
+_Static_assert(sizeof(zend_rc_dtor_func) / sizeof(zend_rc_dtor_func[0]) == _IS_REGULAR_END);
56
+#endif
57
+
58
ZEND_API void ZEND_FASTCALL rc_dtor_func(zend_refcounted *p)
59
{
60
ZEND_ASSERT(GC_TYPE(p) <= IS_CONSTANT_AST);
0 commit comments