ID:               27032
 Updated by:       [EMAIL PROTECTED]
 Reported By:      trhaynes at hotmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


Previous Comments:
------------------------------------------------------------------------

[2004-01-24 18:41:05] trhaynes at hotmail dot com

Description:
------------
php.net/rand reads:

"If called without the optional min, max arguments rand() returns a
pseudo-random value between 0 and RAND_MAX. If you want a random number
between 5 and 15 (inclusive), for example, use rand (5, 15)."

However, from "int rand ( [int min, int max])" and the example given,
I'm assuming that it does not give a *value*, but, more specifically,
an *integer*.  Perhaps the description should be changed.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27032&edit=1

Reply via email to