From 3a667844e177dcc2dd7729df00d7368d4a21b84f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 4 Mar 2024 07:49:49 +0900 Subject: chore: add readme --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md (limited to 'README.md') 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. -- cgit v1.2.3-70-g09d2