php.js is an open source project that brings high-level PHP functions to (often) low-level JavaScript platforms such as webbrowsers, AIR, V8 and rhino.
Featured Functions
date()
Date-formatting, just like you know it from PHP
base64_decode()
Safe & easy data transport, decode messages in JavaScript that where encoded by PHP.