PHP in Browser (powered by WebAssembly)
Branch: master
Clone or download
Latest commit 2ea3fb4 Feb 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Upgrade to PHP 7.3.0 Dec 11, 2018
.travis.yml Add TravisCI for building PIB Oct 15, 2018
LICENSE Add MIT License Nov 15, 2018
Readme.md Better wording Feb 2, 2019
build.sh Add mbstring (without mbregex) Dec 13, 2018
index.html Disable ZendMM in pib_eval Oct 27, 2018
mods.diff Upgrade to PHP 7.3.0 Dec 11, 2018
pib_eval.c Disable ZendMM in pib_eval Oct 27, 2018
publish.sh Add publish script May 29, 2018

Readme.md

PIB: PHP in Browser

Build Status PHP

Run PIB

Firefox is recommended for better user experience.

Examples

Building From Source

Using Docker

The quickest way to build PIB is by using Docker:

docker run --rm -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash build.sh

Setup Emscripten SDK (emsdk) manually

Steps:

  1. Setup emsdk (>= 1.38.11), see Installation Instructions
  2. Run bash build.sh

Known issues

  • Memory leak

Acknowledgements

The Web UI is based on Rust Playground.