"Run code" buttons in the web docs do not function
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 40/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript, php, wasm
- 領域
- frontend
研究方向
The payload names only the affected manual page and console errors about WebAssembly instantiation, not the files behind the Run code button. Start by reproducing on the linked page with browser devtools open and read the first wasm error, which should show whether the module fails to load or to compile. Done means the example runs and its output appears on the page in a current browser, with the root cause identified in the issue thread.
由索引模型根據 Issue 內容生成。
描述
Affected Page URL
https://www.php.net/manual/en/language.basic-syntax.phptags.php
Describe the bug
Clicking the "Run code" button does not cause the code to be run, and there is no visible error message or other output. The console shows a number of errors related to wasm instantiation.
I linked one affected page, but this happens on every page that I've tried.
Steps to reproduce
- Go to any documentation page that has a "Run Code" button for a block of example PHP.
- Click "Run code"
Expected behavior
The code should execute and the output should be presented on the page.
Screenshots
Console errors:
Additional context
This happens on all of the following browsers (all on Windows 11):
- Microsoft Edge, Version 157.0.4341.46
- Chrome, Version 157.0.8103.51
- Firefox, 160.0
- 主要語言
- PHP
- 星號
- 1.1k
- 分支
- 648
- 平均合併
- 1 天 7 小時
- 30 天內合併 PR
- 45
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
php/web-php 的其他 Issue
-
Bug Status: Needs Triage
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
RSS feed is not valid according to Power Automate可能已有人在做 @sy-records 今天認領。 未關閉Bug Status: Needs Triage
難度 2/5 1-3 小時 新手友好度 35/100
維護者通常 1 天內回覆
-
[UI/UX] Add Next/Previous pagination buttons to documentation pages可能重新可做 @TheCoderGeekSquadLeader 於 18 天前認領,目前沒有進行中的 PR。 未關閉
難度 3/5 1-2 天 新手友好度 35/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 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
matomo-org/plugin-CustomAlerts#310 ·
維護者通常 1 天內回覆
-
domain/checkout Platform(Default) priority/low testing/acceptance
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
pluginsGLPI/addressing#132 ·
-
5.14.0 PIE packages still declare PHP >=8.3, so PIE installs them on PHP 8.3 and the build fails未關閉
難度 2/5 1-3 小時 新手友好度 66/100
-
bug component:user_profiles
難度 2/5 1-3 小時 新手友好度 85/100
knowii-oss/knowii#1689 ·
維護者通常 1 天內回覆