diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-18 04:01:20 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-18 04:01:20 +0000 |
commit | 3ee4e65c95fa8eb5366569a22ffd6e09ce9741f1 (patch) | |
tree | 20bbcd96e0f6c1483c87a00273bcdc1ec94a097a /ext/standard/rand.c | |
parent | 8a581c3536e1c4fab7ecfa4e1c044d3e5ebc5ab2 (diff) | |
download | php-git-3ee4e65c95fa8eb5366569a22ffd6e09ce9741f1.tar.gz |
More php3_ annihilation
Diffstat (limited to 'ext/standard/rand.c')
-rw-r--r-- | ext/standard/rand.c | 4 |
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 */ } |