note 10477 added to rand

From: Date: Fri, 05 Jan 2001 21:58:25 +0000
Subject: note 10477 added to rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-9419@lists.php.net to get a copy of this message
It certainly appears as if rand() REALLY only deals with int's - just as advertised. Meaning rand(1,32769) will generate a warning. mt_rand does not appear to have this problem... http://www.php.net/manual/function.rand.php

« previous php.notes (#9419) next »