aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: 8d8909b83bcd79327514453bda0b9accdcfdf129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.