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
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.