aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-07 12:54:36 +0900
committernsfisis <nsfisis@gmail.com>2024-07-07 12:54:36 +0900
commit378a315f15a26158885d4e1b14cb97cf04676ba9 (patch)
tree198c35341cef2aa1a1580bf354c8418fd09622ea /README.md
parent6f6edf66a7ab9dcea07a34c66b459958376796a9 (diff)
downloadphp-waddiwasi-378a315f15a26158885d4e1b14cb97cf04676ba9.tar.gz
php-waddiwasi-378a315f15a26158885d4e1b14cb97cf04676ba9.tar.zst
php-waddiwasi-378a315f15a26158885d4e1b14cb97cf04676ba9.zip
chore: update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index 891a6a1..2701439 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ It is partially compatible with the WebAssembly specification version 2.0.
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 zend.assertions=-1 -d memory_limit=512M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php
+$ composer example:php-on-wasm
```
### RubyVM on PHP on Wasm
@@ -23,8 +23,7 @@ https://github.com/m3m0r7/rubyvm-on-php is a RubyVM written in pure PHP.
It works on the PHP runtime on my Wasm runtime.
```
-$ cd examples/rubyvm-on-php-on-wasm
-$ ./HelloWorld.sh
+$ composer example:rubyvm-on-php-on-wasm
```
NOTE: there is a known bug where `munmap()`-related errors are reported.
@@ -37,6 +36,12 @@ NOTE: there is a known bug where `munmap()`-related errors are reported.
+## Known Bugs
+
+See [BUGS.txt](./BUGS.txt).
+
+
+
## License
See [LICENSE](./LICENSE).