How random is PHP's shuffle function?

后端 未结 7 1981
眼角桃花
眼角桃花 2020-12-03 21:12

Does anyone know what\'s the randomness of PHP\'s shuffle() function? Does it depend on the operating system? Does it use PHP\'s own seeder?

Is it poss

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-03 21:54

    It's random just like rand();

    And as PHP style you don't need to seed

提交回复
热议问题