note 11318 added to rand

From: Date: Thu, 15 Feb 2001 22:30:50 +0000
Subject: note 11318 added to rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-11123@lists.php.net to get a copy of this message
Warning: mtrand(): Invalid range: -2147483648..-2147483648 in *** on line **... I keep on getting that error when I am dealing with high min/max values... (say 29090076943 and 38585855370)... any ideas? http://www.php.net/manual/en/function.rand.php

« previous php.notes (#11123) next »