How I can prevent rand () generates repeated numbers in PHP?
We have this perform: perform card_draw ($numeroDeobjetos) with regard to ($i=0; $i<$numeroDeobjetos; $i++) $aleatorio=rand (1, 40); $usada$aleatorio=true; with regard to ($i=0; $i<=39; $i++) in the event ($usada$i==false) reveal ‘‘; in addition reveal ‘‘; How do i do to counteract repeated numbers in $aleatorio Thank you. “Random” range generators truly generate …