Skip to content

Commit 1838f96

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Correct the location
2 parents 63ca6f9 + ece7d22 commit 1838f96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_API.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,10 +1156,9 @@ ZEND_API int zend_update_class_constants(zend_class_entry *class_type) /* {{{ */
11561156
ce = ce->parent;
11571157
}
11581158
}
1159+
class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED;
11591160
}
11601161

1161-
class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED;
1162-
11631162
return SUCCESS;
11641163
}
11651164
/* }}} */

0 commit comments

Comments
 (0)