2 ms·
Do you not think languages should evolve? Do you think the count() behaviour should never have changed because at some point the documentation said this? How do
by pluc 5y ago
Do you not think languages should evolve? Do you think the count() behaviour should never have changed because at some point the documentation said this? How do you propose languages deal with evolution if not graceful deprecation? This isn't Go or Rust that have been around for a few years, this is a 30 year old language that was designed for an entirely different web than what we have today and has had to reinvent itself multiple times. Let me know when Go and Rust deal with half of the problems PHP dealt with.
- hakre 5y agoIn case of count this is more likely not because of a different web but the changes we can see for stdClass, arrays and the object model. And give peace a chance, it is not always love on first sight when something unexpected happens.