Skip to content

wapm-packages/php

 
 

Repository files navigation

PHP

You can install php with:

wapm install php

Note: The first time you execute wapm run php will take up to 1 minute (spent on compilation). Next times will be instant. We are working on making it instant on the first run.

Note: This project is a fork of the original pib (PHP in Browser) implementation: pib.

Running

You can run any php file.

$ wapm run php examples/rot13.php "Hello World"
Uryyb Jbeyq

Building from Source

You will need Emscripten SDK (emsdk) to build the php.wasm file.

Steps:

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

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.4%
  • Shell 21.3%
  • C 4.3%