php.js Brings high-level PHP Functions to JavaScript
php.js is an open source project that brings high-level PHP functions to low-level JavaScript platforms such as web browsers, browser extensions ( Mozilla/Firefox, Chrome ), AIR, and SSJS engines like V8 (node.js, v8cgi), Rhino, and SpiderMonkey (CouchDB).
If you want to perform high-level operations on these platforms, you probably need to write JS that combines its lower-level functions and build it up until you have something useful like: strip_tags(), strtotime(), number_format(), wordwrap(). php.js is pure JavaScript so no additional components required.
Requirements: -
Demo: http://phpjs.org/pages/home
License: MIT and GPL licenses