"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 天内回复