We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b52787 commit 6fb7411Copy full SHA for 6fb7411
ext/opcache/ZendAccelerator.c
@@ -3803,7 +3803,7 @@ static bool preload_try_resolve_constants(zend_class_entry *ce)
3803
/* For deprecated constants, we need to flag the zval for recursion
3804
* detection. Make sure the zval is separated out of shm. */
3805
if (ZEND_CLASS_CONST_FLAGS(c) & ZEND_ACC_DEPRECATED) {
3806
- ok = true;
+ ok = false;
3807
}
3808
if (EXPECTED(zend_update_class_constant(c, key, c->ce) == SUCCESS)) {
3809
was_changed = changed = true;
0 commit comments