Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capabilities of wasm? #39

Closed
snnsnn opened this issue Mar 30, 2019 · 0 comments
Closed

Capabilities of wasm? #39

snnsnn opened this issue Mar 30, 2019 · 0 comments
Labels
❓ question Further information is requested

Comments

@snnsnn
Copy link

snnsnn commented Mar 30, 2019

Hi, I have a quick question. Is it possible to implement new language construct for php via wasm, say I want to write a jsx like preprocessor that can return xml like syntax from a method or function body directly in the php file.

Does wasm provides same level capability with php or zend extensions? If I understood correctly, wasm modules can be an be packaged with Composer and does not require additional step like zend extensions, which makes it perfect for distribution. Thanks.

Edit: A WebAssembly binary has no access to the PHP environment (so no access to its memory or functions). It is executed in a sandbox.

@snnsnn snnsnn added the ❓ question Further information is requested label Mar 30, 2019
@snnsnn snnsnn closed this as completed Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant