I suspect Thrift is what you want. You’d have to write a little glue code to do PHP <-thrift-> C++ <-> C, but that would probably be more robust than rolling your own.
More Related Contents:
- Is it wise to use PHP for a daemon?
- Run php script as daemon process
- Calling C/C++ library function from PHP [closed]
- Extending PHP with C++?
- How does similar_text work?
- What is normalized UTF-8 all about?
- MATLAB executable is too slow
- Is there an equivalent in C++ of PHP’s explode() function? [duplicate]
- Php Login issue [closed]
- Levenshtein: MySQL + PHP
- Check if cookies are enabled
- How to combine two arrays together?
- How to test if a MySQL query was successful in modifying database table data?
- How do i “echo” a “Resource id #6” from a MySql response in PHP?
- How to get first x chars from a string, without cutting off the last word?
- POST request with JSON body
- Find first character that is different between two strings
- PHP debug_backtrace in production code to get information about calling method?
- PHP technique to query the APNs Feedback Server
- How add class=’active’ to html menu with php
- Deleting a file after user download it
- Performance of static methods vs. functions
- Converting a POSTMAN request to Curl
- Fatal error: Call to undefined function mb_strlen()
- Returning header as array using Curl
- Sort an array with special characters in PHP
- Check if email exist php
- How does “do something OR DIE()” work in PHP?
- Format 32-character string with hyphens to become UUID
- Check if all values in array are the same