People complain about Java being weird all the time. The reason people complain about it is because they use it all the time and things about it annoy them.
Pretty much everyone who uses any programming language has stuff they don’t like about it and we’ll complain about it from time to time. A lot of this stuff never really gets fixed, because updating languages is problematic, see mysqli_real_escape_string
.
I don’t want to be that guy, but that PHP function call at the end that you said never really gets fixed… I haven’t used that in 20 years of PHP, and I’m pretty sure that hasn’t existed since like 10-15 years ago. People seem to love to hate php because 20 years ago it did something not quite right.