Uniter

NB: Uniter is in alpha stage, and currently only supports a small subset of PHP's features.

JavaScript

PHP

Result

Fork me on GitHub