We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d8b221 commit 545bb6dCopy full SHA for 545bb6d
1 file changed
Zend/zend_opcode.c
@@ -308,7 +308,7 @@ ZEND_API void destroy_zend_class(zval *zv)
308
* so we don't need to destroy the underlying ->ce here, but we do need
309
* to free the attributes and the storage for the
310
* skip the destruction of aliases entirely. */
311
- if (UNEXPECTED(Z_TYPE_INFO_P(zv) == IS_ALIAS_PTR)) {
+ if (UNEXPECTED(Z_TYPE_P(zv) == IS_ALIAS_PTR)) {
312
zend_class_alias *class_alias = Z_CLASS_ALIAS_P(zv);
313
314
if (class_alias->alias_flags & ZEND_ACC_IMMUTABLE) {
0 commit comments