4 ms·
These features don't make sense for PHP's execution model, your script is supposed to render one page and then exit. There's nowhere to put background tasks, ev
by astrange 7y ago
These features don't make sense for PHP's execution model, your script is supposed to render one page and then exit. There's nowhere to put background tasks, event handlers, etc. Is it doing something else? I can't imagine turning PHP into an application server, and if you were, I'd suggest getting a different language.
It's possible to have request routing if you want to have the same .php file serve every request on your site, but that's totally inner-platform. There's already a thing routing URLs and it's the web server.