Why do some programming languages have a bad reputation?
If you look at standard PHP functions you will find that there is a horrible mess. There is no naming strategy, functions have different order of parameters, there are many functions that do the same work but exist in the same super big scope...