Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
This commit is contained in:
Joe Watkins 2017-01-26 09:04:52 +00:00
commit 306f55bef4
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E
4 changed files with 14 additions and 12 deletions

View file

@ -345,6 +345,10 @@ void shutdown_executor(void) /* {{{ */
zend_llist_destroy(&CG(open_files));
} zend_end_try();
zend_try {
clean_non_persistent_constants();
} zend_end_try();
zend_try {
zend_close_rsrc_list(&EG(regular_list));
} zend_end_try();
@ -376,10 +380,6 @@ void shutdown_executor(void) /* {{{ */
}
} zend_end_try();
zend_try {
clean_non_persistent_constants();
} zend_end_try();
zend_try {
#if 0&&ZEND_DEBUG
signal(SIGSEGV, original_sigsegv_handler);