diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-04 07:49:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-04 07:49:49 +0900 |
| commit | 3a667844e177dcc2dd7729df00d7368d4a21b84f (patch) | |
| tree | 3375488dc93324b7bf655d0a3ceb0bce01389bb3 | |
| parent | 0f9d1cd47e451d74c8eed40629d21baae9881da0 (diff) | |
| download | php-waddiwasi-3a667844e177dcc2dd7729df00d7368d4a21b84f.tar.gz php-waddiwasi-3a667844e177dcc2dd7729df00d7368d4a21b84f.tar.zst php-waddiwasi-3a667844e177dcc2dd7729df00d7368d4a21b84f.zip | |
chore: add readme
| -rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d8909b --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Waddiwasi + +This is a WebAssembly runtime written in pure PHP. + + + +# Examples + +## PHP on Wasm + +The PHP runtime can be compiled to WebAssembly binary. This Wasm runtime can execute it. Currently, "Hello, World!" program works on the PHP runtime on the Wasm runtime. + +``` +$ php -d memory_limit=4G -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php +``` + + + +# License + +See LICENSE. |
