I bet someone somewhere is working on a PHP interpreter in Javascript.
Ninja edit: yep. (http://asmblah.github.io/uniter/demo/interactive.html)
Ninja edit: yep. (http://asmblah.github.io/uniter/demo/interactive.html)
So you could run a PHP VM on top of a Javascript VM in PHP.