Date: 09/15/00
- Next message: tjabo <email protected>: "[PHP-DEV] PHP 4.0 Bug #6772: wrong documentaion for strrchr and strrpos"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] doc_root problem"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6663 Updated: mktime returns -1 whereas 4.0.1pl2 returned the correct value"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6663 Updated: mktime returns -1 whereas 4.0.1pl2 returned the correct value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6663
User Update by: apeeters <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Date/time related
Description: mktime returns -1 whereas 4.0.1pl2 returned the correct value
This bug also occured in 4.0 Release Candidate 2 bugid 4454, and has been solved.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-12 01:14:07] apeeters <email protected>
And why does it work correctly then with all previous versions ?
---------------------------------------------------------------------------
[2000-09-11 22:41:15] stas <email protected>
Month, day and year == 0 is an illegal date for mktime() (otherwise it would interpret it as 30.11.99 which is not exactly what you expect, I guess. If you do, just write 30.11.99).
---------------------------------------------------------------------------
[2000-09-11 22:34:47] apeeters <email protected>
Sample
mktime($starthour,$startmin,$startsec,"0","0","0");
---------------------------------------------------------------------------
[2000-09-11 22:33:56] apeeters <email protected>
Php 4.0.2 returns -1 on this statement wheras php 4.0.1pl2 returned the correct unix timestamp.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6663
-- 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>
- Next message: tjabo <email protected>: "[PHP-DEV] PHP 4.0 Bug #6772: wrong documentaion for strrchr and strrpos"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] doc_root problem"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6663 Updated: mktime returns -1 whereas 4.0.1pl2 returned the correct value"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6663 Updated: mktime returns -1 whereas 4.0.1pl2 returned the correct value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

