Execute javascript in PHP

To evaluate JavaScript code using PHP, have a look at the V8 JavaScript engine extension, which you may compile into your PHP binary:

V8 is Google’s open source JavaScript implementation.

Leave a Comment