[Noisebridge-discuss] PHP sucks [was Re: [drama] New logo source?]

Leif Ryge leif at synthesize.us
Tue Jan 12 23:53:11 UTC 2010


John Adams wrote:
> In the array_rand function,  each key from the source array has an equal 
> chance of being picked, BUT the order that they are returned in is not 
> random.

It isn't random, but what is it? It appears to be perfectly willing to 
put 2 before 0 or 1, or 1 before 2, but it will never put 1 before 0 (at 
least, in 5.2.6 here).

~leif



More information about the Noisebridge-discuss mailing list