Async operating in PHP
| From: | Kevin Ingwersen | Date: | Tue, 25 Feb 2014 16:43:06 +0000 |
| Subject: | Async operating in PHP | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-72809@lists.php.net to get a copy of this message | ||
Hey.
For a long time now, I have been using nodejs and its async methods. I am even working on bridging
nodejs and PHP via a native addon…but thats more complex for another thread.
But, as I used nodejs, I enjoyed of being able to just push a callback into the event loop, so I
could continue my code, while a heavier operation is sent to the background.
Will PHP ever have this? That would certainly be very interesting to have, the option to just push
away a bigger task.
Kind regards, Ingwie.