PHP array_rand是否返回唯一键?

The*_*onk 3 php arrays

如果我打电话array_rand($array, 100),它会避免多次选择相同的密钥?

Kin*_*nch 5

是的,在一次通话中,返回集应该是唯一的.