You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Interactive Examples: Fibers cause WASM error about missing getcontext function #1878
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 the language/fibers.xml chapter tag
Build the manual
Attempt to run the example
Expected behavior
Example runs and output is displayed in the manual.
Activity
jordikroon commentedon May 5, 2026
The
getcontextandsetcontextfunctions are being called by fiber. So the error is directly caused by Fibers and not by the browser.I suggest creating an issue in the builder: https://github.com/derickr/php-wasm-builder.