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

41

u/aaptel Dec 02 '15

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.

→ More replies (7)