I'm just sneaking into the subject to point out that theres already some work on this with the PHP swoole extension, in case it hasn't been looked/taked into consideration yet:

https://github.com/swoole/swoole-src#coroutine
https://github.com/swoole/swoole-src#short-api-name

It has great performance and the event based http server demonstrates how well it performs. Great to see stuff like this could be shipped as part of the core which transcend PHP uses.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to