mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
Support for __debugInfo (Joe Watkins)
This commit is contained in:
parent
3fff53fc57
commit
1d1fdfb51d
1 changed files with 6 additions and 0 deletions
|
@ -685,6 +685,12 @@ static int zend_update_parent_ce(zend_class_entry **pce TSRMLS_DC)
|
|||
ce->__callstatic = zend_shared_alloc_get_xlat_entry(ce->__callstatic);
|
||||
ce->__callstatic->op_array.refcount++;
|
||||
}
|
||||
#endif
|
||||
#if ZEND_EXTENSION_API_NO >= PHP_5_6_X_API_NO
|
||||
if (ce->__debugInfo) {
|
||||
ce->__debugInfo = zend_shared_alloc_get_xlat_entry(ce->__debugInfo);
|
||||
ce->__debugInfo->op_array.refcount++;
|
||||
}
|
||||
#endif
|
||||
zend_hash_apply(&ce->properties_info, (apply_func_t) zend_update_property_info_ce TSRMLS_CC);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue