Non-blocking calls from PHP
I want to use non-blocking API ( https://mariadb.com/kb/en/mariadb/non-blocking-api-reference ) from PHP. Is it possible now? If no, can anybody give me directions how to implement my own PHP-extension in C (using Connector/C) or update the existing module? I don't think it's very complex, do I need to add just wraper-like implementations using blocking function as samples, don't I?
Answer Answered by Georg Richter in this comment.
Current implementations of mysqli and mysql don't support the asynchronous API of Connector/C.
I would recommend to write an additional extension, which uses the mysqli class and supports the async api only.