Good day everyone. Today I’d like to present an updated RFC related to True Async.
This RFC proposes changes only to PHP core and does not affect any user-facing features. https://wiki.php.net/rfc/true_async_engine_api The main goal of the RFC is to introduce a backend for asynchronous functionality in PHP. This approach allows gradually bring async capabilities into the language and gives space to better design the main userland API in a separate RFC later. If this RFC is accepted for PHP 8.5, there is a good chance to prepare userland async in PHP 9. For now, all userland API, such as coroutine functions (spawn), await, and will be available in a separate extension: https://github.com/true-async/php-async. But just to be clear, this extension is not part of the current RFC. Best regards.