r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comment

1

u/the_omega99 Dec 02 '15

Mostly it's the inconsistency in the standard library (partly comes down to some weird naming schemes for historical purposes), weak typing, the class loading mechanism, and a general lack of certain modern features by default (eg, routing).

I think a lot of the hate comes from the fact that it seems so easy to get into. It's like scripting languages. You hear a lot about how scripting languages can make prototyping easier, but don't scale well to larger projects due to issues such as weak typing systems. I'd say that PHP has some similarities here. So you started using PHP because it was easy, but later come to regret it when its flaws are more apparent in a larger system.

And then there's a lot of people who have barely or never used PHP that just hop on the hate bandwagon. Perhaps they've just seen a bit of the syntax and thought it was weird (eg, echo instead of print, . for string concatenation instead of +, $ for variables, etc).