From 2e69999373086234d4079b2ff76c63e4f600b45d Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Wed, 17 Dec 2003 16:56:38 +0000 Subject: [PATCH] added example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146668 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/math/functions/rand.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/reference/math/functions/rand.xml b/reference/math/functions/rand.xml index 86359c5b58..8bbbe12307 100644 --- a/reference/math/functions/rand.xml +++ b/reference/math/functions/rand.xml @@ -1,5 +1,5 @@ - + @@ -21,7 +21,31 @@ between 5 and 15 (inclusive), for example, use rand (5, 15). + + + <function>rand</function> example + + +]]> + + + The above example will output: + + + + + + On some platforms (such as Windows) RAND_MAX