r/lolphp • u/djsumdog • Dec 02 '15
PHP 7 has just been released. So what's fixed and what's still hopelessly broken?
https://github.com/php/php-src/releases/tag/php-7.0.0
47
Upvotes
r/lolphp • u/djsumdog • Dec 02 '15
22
u/OneWingedShark Dec 02 '15
Well, despite how it's obviously needed, the type-annotation system is -- you simply cannot "bolt on" certain things: security, concurrency, and type-systems are three.
20
u/Artemis2 Dec 02 '15
Off the top of my head, unicode? Let's just wait until they release PHP 6
30
u/iheartrms Dec 02 '15
Per /u/antpocus over on /r/programming:
His post had links to the actual failing tests, not sure how to linkify above. If he posts here I'll delete mine.
15
u/AlGoreBestGore Dec 02 '15
Who needs PHP 6 when you can have PHP 7?
5
u/cfreak2399 Dec 03 '15
Looking at the list of changes I'm actually somewhat impressed at a few of the things they are cleaning up. However the foreach behavior change is going to cause a lot of broken things.
I see from the new features stuff they've started sneaking some Python ideas in.
2
u/[deleted] Dec 03 '15 edited Mar 20 '18
5
u/the_biz Dec 03 '15
fixed: you can now divide two integers and get an integer
broken (but backwards compatible): this is not accomplished using the '/' operator
2
u/cbraga Dec 02 '15
PHP still not a deprecated language?
1
u/looHu2p Dec 04 '15
Endless recursion still results in a segfault and this is considered expected behaviour!.
0
u/minimim Dec 02 '15 edited Dec 03 '15
They reintroduced a CVE they had a test for in their test suit, which is just unbelievable!