Hi I found this email in PHP.net as a contact address for Web masters. My question is about PHP SAPI C/C++ development.
I’ve successfully attached PHP to my C/C++ application as a SAPI module with libphp.so , and it’s working now , but I have a problem with multiple tasks in my application. I need to execute PHP code in some thread of my application and continue excecution in another. Is is possible to somehow get all global PHP core hashtables from first thread and restore PHP from that point in another thread using that hashtables with all generated variables and functions ? Please provide some information about how this could be possible. Thanks.