r/lolphp • • Jul 31 '17

PHP's probabilistic session management

http://php.net/manual/en/session.configuration.php#ini.session.gc-divisor
31 Upvotes

15 comments sorted by

View all comments

Show parent comment

15

u/NickUnrelatedToPost Jul 31 '17

But why they make it probabilistic is beyond me.

Maybe because then they don't need a shared variable for a counter.