3 ms·
This doesn't appear to support the PHP built in functions, and is more of a tongue in cheek exercise. Someone did take roughly the approach you're describing
by tyingq 9y ago
This doesn't appear to support the PHP built in functions, and is more of a tongue in cheek exercise.
Someone did take roughly the approach you're describing. A VM in JavaScript that groks php bytecode: https://github.com/niklasvh/php.js https://github.com/niklasvh/php.js