On Mac OS X, php 4.2.1 terminates without output with the given example.
Running a copy of PHP 4.3.0 CLI I updated/compiled from CVS today,
the output is "97Bus error".
Anyone with enough info to say what's similar to both Solaris and OS X?
sulka
At 19:58 +0300 1.8.2002, Anti
From: [EMAIL PROTECTED]
Operating system: N/A
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: session_set_save_handler() with php internal session storage
Most application server's I've worked with allow code to be
executed when a session is garbag
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
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
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
From: [EMAIL PROTECTED]
Operating system: SunOS 5.8 (Solaris)
PHP version: 4.0.4pl1
PHP Bug Type: *Math Functions
Bug description: Srand and shuffle give odd results
I'm using the following code to create random strings
(passwords):
$password = "";
$array =
array('a'