is there a php library or something?
asked May 10, 2010 at 0:12
user336502
2 Answers 2
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.
answered May 10, 2010 at 0:30
Brian McKenna
46.3k6 gold badges64 silver badges60 bronze badges
Sign up to request clarification or add additional context in comments.
1 Comment
also, this might help too: terminally-incoherent.com/blog/2008/01/08/…
You can execute JavaScript on the server side using Java 6 and Rhino.
answered May 10, 2010 at 0:13
duffymo
310k46 gold badges377 silver badges572 bronze badges
Comments
lang-js