summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-01-06 15:45:52 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-01-06 15:45:52 +0000
commitd2b89ae32bd3d0cb40c8a86c608323a669930b7e (patch)
tree975ec8be2b43ec7fe06d89ecad84c95d674b6176
parent06232e481860ddb04367df809a9df3ccb6cdb234 (diff)
downloadphp-git-d2b89ae32bd3d0cb40c8a86c608323a669930b7e.tar.gz
Revert proto 'fix'.
-rw-r--r--ext/standard/rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/rand.c b/ext/standard/rand.c
index 54333fdd16..78737f4caa 100644
--- a/ext/standard/rand.c
+++ b/ext/standard/rand.c
@@ -311,7 +311,7 @@ PHP_FUNCTION(mt_srand)
* -RL
*/
-/* {{{ proto int rand(int min, int max)
+/* {{{ proto int rand([int min, int max])
Returns a random number */
PHP_FUNCTION(rand)
{
@@ -336,7 +336,7 @@ PHP_FUNCTION(rand)
}
/* }}} */
-/* {{{ proto int mt_rand(int min, int max)
+/* {{{ proto int mt_rand([int min, int max])
Returns a random number from Mersenne Twister */
PHP_FUNCTION(mt_rand)
{