php.js
php.js is a resource that offers community-built JavaScript alternatives to PHP functions.
More info at: http://phpjs.org/about
Npm
$ mkdir test && cd $_$ npm install phpjs$ $EDITOR try.js
var php = ; php;php;php;
$ node try.jsHey, you : )abcd12341325502733
Testing
cli
make test
node bin/phpjs.js --action test --name sortnode bin/phpjs.js --action test --category array
Web
PORT=8080 node test/browser/server.js
Point your webbrowser to http://localhost:8080