Calling C/C++ library function from PHP

前端 未结 5 1715
余生分开走
余生分开走 2020-11-27 16:50

We have a PHP web app running on a customer\'s machine. For an update, we have a bit of code in C that we\'d like to include as a native opaque library along with the PHP we

5条回答
  •  囚心锁ツ
    2020-11-27 17:39

    The answer by St. John Johnson is correct. But you can now also us the php-cpp library. It offers a much easier bridge between PHP and C++. See http://www.php-cpp.com for more information.

提交回复
热议问题