ID: 12455
Updated by: jflemer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *Math Functions
Operating System: All
PHP Version: 4.0.4pl1, 4.0.6
New Comment:
open -> bogus
Previous Comments:
[2001-0
ID: 12455
Updated by: jflemer
Reported By: [EMAIL PROTECTED]
Old Status: Bogus
Status: Open
Bug Type: *Math Functions
Operating System: All
PHP Version: 4.0.4pl1, 4.0.6
New Comment:
OK, well can you check to see that microtime() is working for you? This script should
print out 100.
BTW, y
On 31 Jul 2001 [EMAIL PROTECTED] wrote:
> Then load the load100times.php in your browser. The result
> should be 100 but is still 4 on the machines I'm testing
> on.
It works fine here. (4.0.6 on OpenBSD 2.9-current.)
Maybe your system's random functions are broken. Which random
function does y
ID: 12455
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: *Math Functions
Operating System: All
PHP Version: 4.0.4pl1, 4.0.6
New Comment:
Ok, here's sample code that should wake you up. The problem
occurs even when srand is only called once / page load.
ID: 12455
Updated by: jflemer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *Math Functions
Operating System: All
PHP Version: 4.0.4pl1, 4.0.6
New Comment:
Try moving your srand() call outside of the pwd() function. That should fix it. The
posted script returns 4 for me
ID: 12455
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Math Functions
Old Operating System: SunOS 5.8 (Solaris)
Operating System: All
Old PHP Version: 4.0.4pl1
PHP Version: 4.0.4pl1, 4.0.6
New Comment:
The same problem also occurs on PHP 4.0.6 on Darwi
UNSUBSCRIBE ME PLEASE!!
[EMAIL PROTECTED] schrieb:
ID: 12455
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Math Functions
Operating System: SunOS 5.8 (Solaris)
PHP Version: 4.0.4pl1
New Comment:
Well, when I run that code I get 4, not 500. U
UNSUBSCRIBE ME PLEASE!!
[EMAIL PROTECTED] schrieb:
ID: 12455
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Math Functions
Operating System: SunOS 5.8 (Solaris)
PHP Version: 4.0.4pl1
New Comment:
I don't think I understand what the problem is here. I tested
ID: 12455
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Math Functions
Operating System: SunOS 5.8 (Solaris)
PHP Version: 4.0.4pl1
New Comment:
Well, when I run that code I get 4, not 500. Upping the
number of iterations doesn't help. I think the prob
ID: 12455
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Math Functions
Operating System: SunOS 5.8 (Solaris)
PHP Version: 4.0.4pl1
New Comment:
I don't think I understand what the problem is here. I tested your code with the
following:
This always returns 500
10 matches
Mail list logo