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

44

u/[deleted] Dec 02 '15

7 looks to be a great improvement from 5, there is a lot of work in this release that should allow for cleaner & safer code, easier.

26

u/[deleted] Dec 02 '15

It is getting a lot of things that people always bitched about it not having, and people are still bitching about it even if they don't use PHP. Internals are making a lot of progress to modernizing it, the standard lib is another thing..

2

u/minasmorath Dec 02 '15

They really should have taken this opportunity to revisit this old RFC... Cleaning up the core function naming would make my everyday so much easier.

2

u/MorrisonLevi Dec 03 '15

I don't believe you. In fact, every person I know who works with PHP every day doesn't understand why people keep wanting this. Conclusion: you don't actually use PHP every day.

1

u/minasmorath Dec 03 '15

Tell that to my employer's Symfony application and my startup's Slim-based API. Seven days a week with this awkward heap of hacks called a language. It's love-hate relationship.

Regardless, I don't understand why anyone who works with PHP everyday wouldn't want to add consistency to the core library functions... unless they think there's job security in needless complexity?

PHP following its own guidelines for function naming would be a great change. "Every person you know who works with PHP every day" ... they don't seems to think very hard. Consistency is helpful, period.

2

u/MorrisonLevi Dec 03 '15 edited Dec 03 '15

Regardless, I don't understand why anyone who works with PHP everyday wouldn't want to add consistency to the core library functions... unless they think there's job security in needless complexity?

Adding consistency in this case requires retraining, lots of documentation updates and migration issues. For... what, again? Nothing is significantly improved - no new capabilities are added. Consistency is good, yes, but at this cost? Not worth it. Note even close.

Edit: I should also add that the aliases could be added by a user-land package. That should be a first step if this is going to be taken seriously.

→ More replies (5)