4 ms·
> Also, in Java it is easy to end up with resource leaks whereas PHP always starts from a clean slate for each request. Way less headache for operations. That
by kanox 6y ago
> Also, in Java it is easy to end up with resource leaks whereas PHP always starts from a clean slate for each request. Way less headache for operations.
That assumes you're running a new separate PHP processes for each request and an application built this way is unlikely to scale terribly well.
- mschuster91 6y ago> That assumes you're running a new separate PHP processes for each request and an application built this way is unlikely to scale terribly well. No. PHP always wipes the complete execution stack even in a long lived execution model like FPM or Apache mod_php.