blob: e14a57e14c64ca37ba295a5d337fde33583b531c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# tiny-php.wasm
A tiny example to compile PHP runtime ([php/php-src](https://github.com/php/php-src)) to WebAssembly.
Article about this repo (Japanese): https://blog.nsfisis.dev/posts/2023-10-02/compile-php-runtime-to-wasm/
## Build
```
$ docker build -t tiny-php.wasm .
```
## Run
```
$ echo 'echo "Hello, World!", PHP_EOL;' | docker run --rm -i tiny-php.wasm
```
## License
Public Domain
|