CopernicaMarketingSoftware / PHP-JS

A library to integrate the Google V8 Javascript Engine in PHP
GNU General Public License v2.0
119 stars 25 forks source link

How does this differ from the v8js php ext #4

Closed christiaan closed 8 years ago

christiaan commented 8 years ago

https://github.com/phpv8/v8js has been around for quite a while already.

How is this extension any different?

ghost commented 8 years ago

Well, PHP-JS works on both PHP 5.3+ and PHP 7.0+ where v8js only works on PHP 7.0+. PHP-JS integrates more, exceptions can be passed on from both sides to the other transparantly instead of using a 'getPendingException' function. We support assigning variables to the global javascript scope.

There are many differences I assume, I am not familiar with the other project but this is what I see at first glance.