Commit 4cc691ae46a for php.net
commit 4cc691ae46a74feb8f777a7ffb4c439e3486f444
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Sat Apr 4 23:39:27 2026 +0200
Fix file cache for zend_arg_info.doc_comment
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 3114e5b9271..dac6f3b482f 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -659,6 +659,7 @@ static void zend_file_cache_serialize_op_array(zend_op_array *op_arra
SERIALIZE_STR(p->name);
}
zend_file_cache_serialize_type(&p->type, script, info, buf);
+ SERIALIZE_STR(p->doc_comment);
p++;
}
}
@@ -1562,6 +1563,7 @@ static void zend_file_cache_unserialize_op_array(zend_op_array *op_arr
UNSERIALIZE_STR(p->name);
}
zend_file_cache_unserialize_type(&p->type, (op_array->fn_flags & ZEND_ACC_CLOSURE) ? NULL : op_array->scope, script, buf);
+ UNSERIALIZE_STR(p->doc_comment);
p++;
}
}