Posted by yawnmoth on 06/24/07 16:06
According to php.net, mt_rand() and rand()'s$max value is, by default, RAND_MAX. This suggests to me that RAND_MAX is a constant, however, the following PHP script shows this not to be the case: <?php echo defined('RAND_MAX') ? 'defined' : 'not defined'; ?> Any ideas as to why this is?
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming