Ver Mensaje Individual
  #11 (permalink)  
Antiguo 07/04/2003, 00:05
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 3 meses
Puntos: 129
mm .. pues srand() dice el manual de PHP:

Cita:
Since PHP 4.2.0 it's no longer necessary to seed the random number generator before using it.
Sin embargo:
Cita:
This function shuffles (randomizes the order of the elements in) an array. You must use srand() to seed this function.
Probé el código tal cual puse (sin srand() ) en PHP 4.3.0 y función bastante aleatorio ..

Un saludo,
__________________
Por motivos personales ya no puedo estar con Uds. Fue grato haber compartido todos estos años. Igualmente los seguiré leyendo.

Última edición por Cluster; 07/04/2003 a las 00:07