php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1954 rand range parameters
Submitted: 1999-08-04 03:08 UTC Modified: 1999-08-04 09:22 UTC
From: php at kms dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 1 OS: linux (redhat6)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at kms dot net
New email:
PHP Version: OS:

 

 [1999-08-04 03:08 UTC] php at kms dot net
the rand functions doesn't seem to
obey the optional range parameters.
The exact same code works fine in php3.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-04 09:22 UTC] rasmus at cvs dot php dot net
I fixed this in the php4 cvs a while ago.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 08:00:01 2026 UTC