Skip to content

Commit 4cc691a

Browse files
committed
Fix file cache for zend_arg_info.doc_comment
1 parent 3d8cb61 commit 4cc691a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ext/opcache/zend_file_cache.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ static void zend_file_cache_serialize_op_array(zend_op_array *op_arra
659659
SERIALIZE_STR(p->name);
660660
}
661661
zend_file_cache_serialize_type(&p->type, script, info, buf);
662+
SERIALIZE_STR(p->doc_comment);
662663
p++;
663664
}
664665
}
@@ -1562,6 +1563,7 @@ static void zend_file_cache_unserialize_op_array(zend_op_array *op_arr
15621563
UNSERIALIZE_STR(p->name);
15631564
}
15641565
zend_file_cache_unserialize_type(&p->type, (op_array->fn_flags & ZEND_ACC_CLOSURE) ? NULL : op_array->scope, script, buf);
1566+
UNSERIALIZE_STR(p->doc_comment);
15651567
p++;
15661568
}
15671569
}

0 commit comments

Comments
 (0)