Interactive Examples: Fibers cause WASM error about missing getcontext function
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 50/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- php, wasm
研究方向
從本機工作副本中的 language/fibers.xml 開始,依照描述新增互動式註解,建置手冊,並重現瀏覽器缺少 getcontext 的錯誤。查看 php/doc-en PR 5456 和 issue 4799,以了解相關脈絡。當 Fibers 範例在手冊中執行並顯示其輸出時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Affected Page URL
https://www.php.net/manual/en/language.fibers.php
Describe the bug
Related: https://github.com/php/doc-en/pull/5456 / https://github.com/php/doc-en/issues/4799
When I enabled the interactive examples on the above mentioned page and attempted to run the example, it failed with a "missing function: getcontext" error in the browser console.
I tried the same example on 3v4l.org's live preview and got the same result.
Steps to reproduce
(On a local working copy of the website and manual)
- Add
annotations="interactive"to thelanguage/fibers.xmlchapter tag - Build the manual
- Attempt to run the example
Expected behavior
Example runs and output is displayed in the manual.
Screenshots
No response
Additional context
No response
- 主要語言
- PHP
- 星號
- 1.1k
- 分支
- 640
- 平均合併
- 1 天 7 小時
- 30 天內合併 PR
- 18
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
php/web-php 的其他 Issue
-
Bug Status: Needs Triage
難度 3/5 1-2 天 新手友好度 55/100
維護者通常 1 天內回覆
-
Page: downloads
難度 3/5 1-2 天 新手友好度 55/100
php/web-php#1946 · 2 個 reaction ·
維護者通常 1 天內回覆
-
Page: downloads
難度 3/5 1-2 天 新手友好度 62/100
維護者通常 1 天內回覆
-
Bug Status: Needs Triage
難度 3/5 1-2 天 新手友好度 55/100
維護者通常 1 天內回覆
-
Bug Status: Needs Triage
難度 3/5 1-2 天 新手友好度 45/100
維護者通常 1 天內回覆
相似的 Issue
-
sync-en
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
UX
難度 2/5 1-3 小時 新手友好度 72/100
ProfessionalWiki/NeoWiki#1573 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 68/100