Skip to content

Commit a90bdc4

Browse files
committed
Fix typo
1 parent c07640d commit a90bdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ext/opcache/ZendAccelerator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3803,7 +3803,7 @@ static bool preload_try_resolve_constants(zend_class_entry *ce)
38033803
/* For deprecated constants, we need to flag the zval for recursion
38043804
* detection. Make sure the zval is separated out of shm. */
38053805
if (ZEND_CLASS_CONST_FLAGS(c) & ZEND_ACC_DEPRECATED) {
3806-
ok = true;
3806+
ok = false;
38073807
}
38083808
if (EXPECTED(zend_update_class_constant(c, key, c->ce) == SUCCESS)) {
38093809
was_changed = changed = true;

0 commit comments

Comments
 (0)