aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-10-02 01:27:55 +0900
committernsfisis <nsfisis@gmail.com>2023-10-02 01:27:55 +0900
commit7e9c65507f2ba51ff7c13cfc18cf29722b89c973 (patch)
treead4a566a5bf9e225b212c033608188b31735d6fb /README.md
parentfcf36b3c9e42ab9fa0ed0e037c6492d0d496f954 (diff)
downloadtiny-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.md22
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