note 76897 added to function.getrandmax

From: Date: Sat, 04 Aug 2007 06:22:10 +0000
Subject: note 76897 added to function.getrandmax
Groups: php.notes 
Request: Send a blank email to php-notes+get-129169@lists.php.net to get a copy of this message
Odd... Running PHP 5.2.3 on 64-bit linux. This function (getmaxrand) only outputs 2147483647 (max for 32-bit systems) but intval('1000...') returns 9223372036854775807 (max for 64-bit systems). Bug? ---- Server IP: 209.41.74.194 Probable Submitter: 24.239.48.69 ---- Manual Page -- http://www.php.net/manual/en/function.getrandmax.php Edit -- https://master.php.net/note/edit/76897 Del: integrated -- https://master.php.net/note/delete/76897/integrated Del: useless -- https://master.php.net/note/delete/76897/useless Del: bad code -- https://master.php.net/note/delete/76897/bad+code Del: spam -- https://master.php.net/note/delete/76897/spam Del: non-english -- https://master.php.net/note/delete/76897/non-english Del: in docs -- https://master.php.net/note/delete/76897/in+docs Del: other reasons-- https://master.php.net/note/delete/76897 Reject -- https://master.php.net/note/reject/76897 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129169) next »