aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-13 14:10:40 +0900
committernsfisis <nsfisis@gmail.com>2024-07-13 14:10:40 +0900
commitf26f497131923886889deb4b843b179518888b1f (patch)
tree10ff8467135865d4aadb6bf4d3978dd1d011ed1a /README.md
parent1f4170811730477e9cd7d9620608c4ab619bdefc (diff)
downloadphp-waddiwasi-f26f497131923886889deb4b843b179518888b1f.tar.gz
php-waddiwasi-f26f497131923886889deb4b843b179518888b1f.tar.zst
php-waddiwasi-f26f497131923886889deb4b843b179518888b1f.zip
feat: add examples/hello-world
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4c8c9d6..6782e97 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,13 @@ It is partially compatible with the WebAssembly specification version 2.0.
## Examples
+### Hello, World!
+
+```
+$ composer example:hello-world
+```
+
+
### 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.
@@ -16,6 +23,7 @@ The PHP runtime can be compiled to WebAssembly binary. This Wasm runtime can exe
$ composer example:php-on-wasm
```
+
### RubyVM on PHP on Wasm
https://github.com/m3m0r7/rubyvm-on-php is a RubyVM written in pure PHP.