This is a WebAssembly runtime written in pure PHP.
It is partially compatible with the WebAssembly specification version 2.0.
$ composer example:hello-world
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.
$ composer example:php-on-wasm
https://github.com/m3m0r7/rubyvm-on-php is a RubyVM written in pure PHP.
It works on the PHP runtime on my Wasm runtime.
$ composer install
$ composer example:rubyvm-on-php-on-wasm
Talk in PHPerKaigi (in Japanese)
See BUGS.
See LICENSE.