Forum Moderators: coopster

Message Too Old, No Replies

How to run javascript in PHP API

php, run javscripy

         

phipp

3:25 am on Jan 10, 2018 (gmt 0)

10+ Year Member



I have an application call API PHP, in api php i want to execute nodejs.

How can i run that script.
Thank You.

MattCarson

6:06 am on Feb 3, 2018 (gmt 0)

5+ Year Member



You can do this with v8js. It’s a new PHP extension which is able to run JavaScript code.

keyplyr

7:07 am on Feb 3, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello MattCarson and welcome to WebmasterWorld [webmasterworld.com]