1

is there a php library or something?

2 Answers 2

4

There's quite a few ways of executing JavaScript on the server-side. A recently popular environment is node.js. There's also options such as Rhino (which has Nitro and Helma). Wikipedia also has a massive list of server-side JavaScript environments.

You also asked if there was a PHP extension available. There's one called php-js, based upon Mozilla's SpiderMonkey.

Sign up to request clarification or add additional context in comments.

1 Comment

0

You can execute JavaScript on the server side using Java 6 and Rhino.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.