note 117745 added to function.getrandmax

From: Date: Fri, 31 Jul 2015 14:09:55 +0000
Subject: note 117745 added to function.getrandmax
Groups: php.notes 
Request: Send a blank email to php-notes+get-203236@lists.php.net to get a copy of this message
The maximum value returned by getrandmax() is valid only if you call the rand() function without any parameter. For eg <?php getrand(35000, 50000); ?> would still work because you have specified the limits even though getrandmax() returned 32767. ---- Server IP: 72.52.91.14 Probable Submitter: 59.177.110.12 ---- Manual Page -- http://php.net/manual/en/function.getrandmax.php Edit -- https://master.php.net/note/edit/117745 Del: integrated -- https://master.php.net/note/delete/117745/integrated Del: useless -- https://master.php.net/note/delete/117745/useless Del: bad code -- https://master.php.net/note/delete/117745/bad+code Del: spam -- https://master.php.net/note/delete/117745/spam Del: non-english -- https://master.php.net/note/delete/117745/non-english Del: in docs -- https://master.php.net/note/delete/117745/in+docs Del: other reasons-- https://master.php.net/note/delete/117745 Reject -- https://master.php.net/note/reject/117745 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203236) next »