protocolbuffers/protobuf

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

オープン

#26,188 opened on 2026/03/03

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (16,128 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (71,223 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド