Manuel PHP Précédent Suivant srand() initialise le générateur de nombres aléatoires avec seed. ?php / / initialise avec les microsecondes depuis la dernière seconde entière srand( (float) microtime()*1000000); $randval = rand();? Voir aussi rand(), getrandmax(), mt_rand(), mt_srand() et mt_getrandmax(). Précédent Sommaire Suivant Sqrt Niveau supérieur Tan