MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxkjno5/?context=9999
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
41
Changelog
New features summary
13 u/Scroph Dec 02 '15 Integer division with intdiv()The new intdiv() function performs an integer division of its operands and returns it.Looks like they finally added intdiv() ! 3 u/[deleted] Dec 02 '15 Why? Performance? 1 u/minimim Dec 02 '15 Floating point division is inaccurate. 10 u/featherfooted Dec 02 '15 The question is why is this a function and not an infix operator.Not why int division exists. 7 u/minimim Dec 02 '15 Do you expect any form of consistency from PHP devs? Here's the thing... → More replies (4)
13
Integer division with intdiv()
The new intdiv() function performs an integer division of its operands and returns it.
Looks like they finally added intdiv() !
3 u/[deleted] Dec 02 '15 Why? Performance? 1 u/minimim Dec 02 '15 Floating point division is inaccurate. 10 u/featherfooted Dec 02 '15 The question is why is this a function and not an infix operator.Not why int division exists. 7 u/minimim Dec 02 '15 Do you expect any form of consistency from PHP devs? Here's the thing... → More replies (4)
3
Why? Performance?
1 u/minimim Dec 02 '15 Floating point division is inaccurate. 10 u/featherfooted Dec 02 '15 The question is why is this a function and not an infix operator.Not why int division exists. 7 u/minimim Dec 02 '15 Do you expect any form of consistency from PHP devs? Here's the thing... → More replies (4)
1
Floating point division is inaccurate.
10 u/featherfooted Dec 02 '15 The question is why is this a function and not an infix operator.Not why int division exists. 7 u/minimim Dec 02 '15 Do you expect any form of consistency from PHP devs? Here's the thing... → More replies (4)
10
The question is why is this a function and not an infix operator.
Not why int division exists.
7 u/minimim Dec 02 '15 Do you expect any form of consistency from PHP devs? Here's the thing... → More replies (4)
7
Do you expect any form of consistency from PHP devs? Here's the thing...
→ More replies (4)
41
u/aaptel Dec 02 '15
Changelog
New features summary