←back to thread

133 points avan1 | 3 comments | | HN request time: 0.203s | source
Show context
dakiol ◴[] No.45077990[source]
The one thing I don't like about PHP is that the whole application is bootstraped (and autoloading and the configuration is re-evaluated) in every single http request. Sure thing there's cache and all, but it just doesn't feel right (compared, to, for instance, an http server written in golang)
replies(5): >>45078039 #>>45078202 #>>45078278 #>>45079157 #>>45079955 #
1. PetahNZ ◴[] No.45079157[source]
This is one of the best things about PHP IMO. It makes it very easy to scale out.
replies(2): >>45080624 #>>45085892 #
2. bornfreddy ◴[] No.45080624[source]
Yup. No shared state by default.
3. const_cast ◴[] No.45085892[source]
It also makes it much easier to debug and forces the complexity down.