PHP 4.0 Bug #5987: PHP crashes when using mktime()
| From: | php-bugs at martin-jansen dot de | Date: | Sat, 05 Aug 2000 21:03:31 +0000 |
| Subject: | PHP 4.0 Bug #5987: PHP crashes when using mktime() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27854@lists.php.net to get a copy of this message | ||
From: php-bugs@martin-jansen.de
Operating system: Windows 98
PHP version: 4.0.1
PHP Bug Type: Scripting Engine problem
Bug description: PHP crashes when using mktime()
By using the following script, the PHP 4.0.1 scripting engine in CGI-Version under Windows 98
crashes:
<?php
echo mktime(1,0,0,1,1,1970,1);
?>
The same script works properly with PHP 3.0.15 in CGI-Version under Win32.
Seemingly the seventh optional parameter is_dst is the problem: Without this parameter the scripting
engine does
not crash.
My System is Windows 98 (first version) and the precompiled CGI-Version of PHP 4.0.1
Best Regards,
Martin