ID: 5987
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
this is a dup of 4096

---------------------------------------------------------------------------

[2000-08-07 07:19:36] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
crashes me too an W2K

---------------------------------------------------------------------------

[2000-08-06 23:46:20] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to