1

Is there a way to make one of my PHP API libraries compiled into PHP extensions? I don't want my client see the source code of that PHP API.

I searched and found the same, BUT with Cython (of Python): How to protect and compile python source code into a .so library?

Thanks!

4

1 回答 1

1

PHP 世界中的等价物是“HipHop for PHP”,它采用 PHP 代码,将其翻译成 C++,然后编译。当然,这会将依赖项要求添加到使用您的库的任何 Web 服务器。

链接:https ://github.com/facebook/hiphop-php/wiki

于 2012-11-05T06:55:13.630 回答