For a long time I have seen that the developers around me hate PHP, and I still do not understand why this happens.
I don't like some PHP stuff, but that does not mean it's a bad programming language ... I think every programming language has its own purpose, so instead of starting to complain about "why PHP does not work for me " I think we should spend more time comparing different programming languages and choose the one that achieves the goal of your project.
What is your opinion?
Because people use Y, and it's clearly better than X.
All languages have strong points and weak points. These pros and cons also vary based on domain: there are some places where PHP is useful, and other places where it's utterly useless.
Every coder should know multiple languages. I think it's a legitimate concern that if somebody knows only PHP* that their coding knowledge is somewhat limited. There are so many differnet constructs in other languages that you might just never see in PHP. Granted, it, like all languages, evolves over time.
*My concern applies basically to any language. You can't know just one and expect to be a good programmer.