note 38062 deleted from function.mt-rand by salathe

From: Date: Fri, 07 Nov 2014 11:03:54 +0000
Subject: note 38062 deleted from function.mt-rand by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-200819@lists.php.net to get a copy of this message
Note Submitter: tmx at ntlworld dot com ---- When using this function, it doesn't matter which order the numbers go in. mt_rand(16,5) works just as well as mt_rand(5,16) Which can be useful if you are pulling values from a database, that could be negative or positive. mtrand(0,$anyinteger) Hope this helps someone

« previous php.notes (#200819) next »