The array_rand Function in PHP

Publicado el: 07 junio 2011
en el canal de: life michael
1,662
3

Using the array_rand(array $input [, int $num_req ] ) function we can get randomized selected elements from our array. The first parameter is our array. The second parameter is the number of elements we request. If we request one element only, array_rand() returns the key for the random element. If we request more than one element, array_rand() returns an array of keys for the random elements.


En esta página del sitio puede ver el video en línea The array_rand Function in PHP de Duración hora minuto segunda en buena calidad , que subió el usuario life michael 07 junio 2011, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,662 veces y le gustó 3 a los espectadores. Disfruta viendo!