Skip to content

Commit 20a707d

Browse files
committed
opcache calc stuff
1 parent 8376fe1 commit 20a707d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/opcache/zend_persist_calc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ static uint zend_persist_op_array_calc(zend_op_array *op_array TSRMLS_DC)
217217

218218
}
219219
}
220+
221+
ADD_DUP_SIZE(&op_array->return_hint, sizeof(zend_return_hint));
222+
if (op_array->return_hint.used && op_array->return_hint.type == IS_OBJECT) {
223+
ADD_INTERNED_STRING(op_array->return_hint.class_name, op_array->return_hint.class_name_len + 1);
224+
}
220225

221226
if (op_array->brk_cont_array) {
222227
ADD_DUP_SIZE(op_array->brk_cont_array, sizeof(zend_brk_cont_element) * op_array->last_brk_cont);

0 commit comments

Comments
 (0)