protocolbuffers/protobuf

PHP: C extension has undocumented "append" function that has no package parity.

Open

#26,188 创建于 2026年3月3日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (16,128 fork)batch import
help wanted

仓库指标

Star
 (71,223 star)
PR 合并指标
 (平均合并 2天 11小时) (30 天内合并 185 个 PR)

描述

What version of protobuf and what language are you using? Version: Any/all. Has existed from the introduction of the package Language: PHP

What did you do? https://github.com/protocolbuffers/protobuf/blob/main/php/ext/google/protobuf/array.c#L245-L263

RepeatedField and the now removed Internal\RepeatedField in the C extension have an append() function that has never had a matching append() function in the php-only package, which can cause static analysis and type confusion.

贡献者指南