We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa18c11 + 5ddcaca commit c2d92adCopy full SHA for c2d92ad
ext/opcache/ZendAccelerator.c
@@ -3958,10 +3958,13 @@ static void preload_check_windows_restrictions(zend_class_entry *scope) {
3958
static inline int preload_update_class_constants(zend_class_entry *ce) {
3959
/* This is a separate function to work around what appears to be a bug in GCC
3960
* maybe-uninitialized analysis. */
3961
+ int result;
3962
zend_try {
- return zend_update_class_constants(ce);
3963
+ result = zend_update_class_constants(ce);
3964
+ } zend_catch {
3965
+ result = FAILURE;
3966
} zend_end_try();
- return FAILURE;
3967
+ return result;
3968
}
3969
3970
static zend_class_entry *preload_load_prop_type(zend_property_info *prop, zend_string *name) {
0 commit comments