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 3ba7756 + bda449a commit 7d794c0Copy full SHA for 7d794c0
ext/opcache/ZendAccelerator.c
@@ -710,9 +710,15 @@ static void accel_copy_permanent_strings(zend_new_interned_string_func_t new_int
710
} ZEND_HASH_FOREACH_END();
711
712
ZEND_HASH_MAP_FOREACH_BUCKET(&ce->constants_table, q) {
713
+ zend_class_constant* c;
714
+
715
if (q->key) {
716
q->key = new_interned_string(q->key);
717
}
718
+ c = (zend_class_constant*)Z_PTR(q->val);
719
+ if (Z_TYPE(c->value) == IS_STRING) {
720
+ ZVAL_STR(&c->value, new_interned_string(Z_STR(c->value)));
721
+ }
722
723
724
0 commit comments