PHP 4.0 Bug #7516 Updated: date() routine seems to cause CGI crash

From: Date: Mon, 30 Oct 2000 18:17:01 +0000
Subject: PHP 4.0 Bug #7516 Updated: date() routine seems to cause CGI crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-36471@lists.php.net to get a copy of this message
ID: 7516 Updated by: dbeu Reported By: wls@wwco.com Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: i'm unable to reprodue this, so closing. btw you you shouldn't do that, there are *much* better algorithms to generate a unique id. Previous Comments: --------------------------------------------------------------------------- [2000-10-28 14:16:29] wls@wwco.com The following code simplified code example causes the PHP.EXE (cgi-version) to hang IIS on my NT 2000 box: $x = md5( date("aABdDFgGhHiIjlLmMnsStUwYyzZ" ); Note that calling md5() without using the date() function works just fine. So I don't know if this is an error in date when it tries to generate such a long date/time string, or whether it is the intermediate string value being passed to md5() that is causing it to hoze up. To recover, one has to stop IIS and restart it. I was using the 4.0.2 Win32 binary version from your download section. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7516

« previous php.dev (#36471) next »