3 ms·
So 1 is not a feature, 4 & 5 are the same thing (and maybe a consequence of 3) while 2 can be remplaced by a single function. Seems like the only new feature a
by raphaelj 12y ago
So 1 is not a feature, 4 & 5 are the same thing (and maybe a consequence of 3) while 2 can be remplaced by a single function.
Seems like the only new feature are type hints. Looks like Hack has been rebranded as PHP 7.
- pestaa 12y agoWell, the biggest issue with PHP in my opinion was the interpreter. Let's cut the cost of function calls by 90%, and PHP would be back in the game of performant languages.
- wnevets 12y agoPHP7 is really just about the speed boost.
- TazeTSchnitzel 12y agoActually, scalar type hint support makes PHP 7 marginally slower (more branches), though it could be used for future optimisations. The speed boost is due to massive engine changes and internal refactoring.
- wvenable 12y agoThere are tons of new features, this list is pretty pathetic. I'm not sure why the spaceship operator got top billing when there has been so many other great changes.
- TazeTSchnitzel 12y agoBecause it has a cool name.