summaryrefslogtreecommitdiff
path: root/ext/standard/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/rand.c')
-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 d7e9d8bc27..a5667595f2 100644
--- a/ext/standard/rand.c
+++ b/ext/standard/rand.c
@@ -317,7 +317,7 @@ PHP_FUNCTION(mt_rand)
return_value->type = IS_LONG;
/*
* Melo: hmms.. randomMT() returns 32 random bits...
- * Yet, the previous php3_rand only returns 31 at most.
+ * Yet, the previous php_rand only returns 31 at most.
* So I put a right shift to loose the lsb. It *seems*
* better than clearing the msb.
* Update:
@@ -349,7 +349,7 @@ PHP_FUNCTION(mt_getrandmax)
return_value->type = IS_LONG;
/*
* Melo: it could be 2^^32 but we only use 2^^31 to maintain
- * compatibility with the previous php3_rand
+ * compatibility with the previous php_rand
*/
return_value->value.lval = 2147483647; /* 2^^31 */
}