embed sapi unable to load tokenizer, undefined symbol zend_ce_stringable
まだ誰も着手していません。
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
Experimenting with the sample embed sapi code and build instructions from the provided readme. I also have the tokenizer extension installed. The php cli sapi works just fine. And php -m reports the tokenizer extension loaded. However, the embed sapi throws a warning about being unable to load tokenizer due to an undefined symbol, zend_ce_stringable. I suspect other extensions that utilize this class will also fail to load in the same way.
Any ideas what am I missing here? This might not be a bug (apologies if not), but I'm just not seeing what isn't being loaded to make tokenizer happy. Feels like a bug or a documentation oversight. Will poke at it some more tomorrow.
FreeBSD main, PHP 8.1.10
PHP Version
PHP 8.1.10
Operating System
FreeBSD main
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
サンプルの embed SAPI コードと提供されている README/build 手順から始め、embed SAPI と CLI が tokenizer 拡張機能をどのように読み込むかを比較します。未定義シンボルの原因が embed build にあるのか拡張機能の読み込みにあるのかを確認し、警告なしで tokenizer が読み込まれるか、ドキュメントで必要なセットアップが説明されれば、issue は解決済みとします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100