diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-10-02 01:27:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-10-02 01:27:55 +0900 |
| commit | 7e9c65507f2ba51ff7c13cfc18cf29722b89c973 (patch) | |
| tree | ad4a566a5bf9e225b212c033608188b31735d6fb /README.md | |
| parent | fcf36b3c9e42ab9fa0ed0e037c6492d0d496f954 (diff) | |
| download | tiny-php.wasm-7e9c65507f2ba51ff7c13cfc18cf29722b89c973.tar.gz tiny-php.wasm-7e9c65507f2ba51ff7c13cfc18cf29722b89c973.tar.zst tiny-php.wasm-7e9c65507f2ba51ff7c13cfc18cf29722b89c973.zip | |
commit files
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 |
