There are a lot of reasons people "hate" PHP, or at least look down on it. Some of them are founded, some are not, and some of them are circumstantial. (Phil Sturgeon)
Here, in Brazil, some people hate PHP because exists many "PHP professionals" that make poor codes!! They are called 'sobrinhos' in here.