diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba182c7 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# tiny-php.wasm + +A tiny example to compile PHP runtime ([php/php-src](https://github.com/php/php-src)) to WebAssembly. + +Article about this repo (Japanese): https://blog.nsfisis.dev/posts/2023-10-02/compile-php-runtime-to-wasm/ + + +## Build + +``` +$ docker build -t php-wasm . +``` + +## Run + +``` +$ echo 'echo "Hello, World!", PHP_EOL;' | docker run --rm -i php-wasm +``` + +## License + +Public Domain |
