I was just helping out someone in this forum with a syntax error. That went OK, but their code also had something in it that I don't understand:
I get that it's setting the var $bigIndex to a random number based upon the length of the $quotations array. What I don't understand is the exact meaning of the:PHP Code:$bigIndex = rand(0, (count($quotations) -1)) & 65534;
& 65534
part.
It appears to make it so that the number returned is even, and it appears that it at least allows that number to be within the range specified by:
0, (count($quotations) -1
without going over, even though that range is less than and is far lower than 65534.
Anyone can tell me what it means?

