Fixed internal class flag restore

This commit is contained in:
Xinchen Hui 2015-06-11 12:53:56 +08:00
parent be988aba36
commit 7f60923199

View File

@ -180,6 +180,7 @@ ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce)
#else
ce->static_members_table = NULL;
#endif
ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED;
while (p != end) {
i_zval_ptr_dtor(p ZEND_FILE_LINE_CC);
p++;