[PHP-DEV] PHP 4.0 Bug #7516: date() routine seems to cause CGI crash From: wls <email protected>
Date: 10/28/00

From: wls <email protected>
Operating system: NT 2000 SP 1
PHP version: 4.0.2
PHP Bug Type: Reproduceable crash
Bug description: date() routine seems to cause CGI crash

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.

-- 
Edit Bug report at: http://bugs.php.net/?id=7516&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>