Skip to content

Commit cd68c4b

Browse files
committed
Fixed __debugInfo() support
1 parent e346608 commit cd68c4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/opcache/zend_accelerator_util_funcs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,11 @@ static void zend_class_copy_ctor(zend_class_entry **pce)
795795
zend_update_inherited_handler(__callstatic);
796796
#endif
797797

798+
#if ZEND_EXTENSION_API_NO >= PHP_5_6_X_API_NO
799+
/* 5.6 stuff */
800+
zend_update_inherited_handler(__debugInfo);
801+
#endif
802+
798803
#if ZEND_EXTENSION_API_NO > PHP_5_3_X_API_NO
799804
/* 5.4 traits */
800805
if (ce->trait_aliases) {

0 commit comments

Comments
 (0)