PHP 4.0 Bug #5987 Updated: PHP crashes when using mktime()
| From: | php-bugs at martin-jansen dot de | Date: | Sat, 28 Apr 2001 09:59:51 +0000 |
| Subject: | PHP 4.0 Bug #5987 Updated: PHP crashes when using mktime() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52692@lists.php.net to get a copy of this message | ||
ID: 5987
User Update by: php-bugs@martin-jansen.de
Old-Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Description: PHP crashes when using mktime()
I tested with the latest binary from www.php4win.de
and with the RC6 binary from ftp.phpuk.org.
Both crash when doing the following:
D:\php\php-4.0.5RC6-win32>php
<?php
echo mktime(1,0,0,1,1,1970,1);
?>
^Z
D:\php\php-4.0.5RC6-win32>
(on Windows 2000 RC2)
- Martin
Previous Comments:
---------------------------------------------------------------------------
[2001-04-27 20:04:27] jmoore@php.net
This works fine for me now. Please retest with latest win32 binaries from php4win.de or the 4.0.5
binaries and give feedback.
- James
---------------------------------------------------------------------------
[2000-08-08 08:57:48] waldschrott@php.net
this is a dup of 4096
---------------------------------------------------------------------------
[2000-08-07 07:19:36] stas@php.net
checked again in NT with latest CVS - doesn't crash both in release & debug mode. Could
someone provide a backtrace?
---------------------------------------------------------------------------
[2000-08-07 00:17:28] waldschrott@php.net
crashes me too an W2K
---------------------------------------------------------------------------
[2000-08-06 23:46:20] hholzgra@php.net
negative timestamp (before 1970 that is)
seem to crash windows time functions ...
see also #4096
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=5987