Date: 09/27/00
- Next message: rene.mueller <email protected>: "[PHP-DEV] PHP 4.0 Bug #6908: rmdir fails after using dir()"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: andrew <email protected>
Operating system: Redhat 6.0
PHP version: 4.0.2
PHP Bug Type: Date/time related
Bug description: error with mktime function
The two following uses of the mktime function return entirely different values:
mktime ("12","00","00","09","27","2000");
mktime (12,00,00,09,27,2000);
The first returns "Sep-27-2000" as it should, but the second returns "Dec-27-1999" which is completely wrong. If I enter variables as the arguments, that works fine. It only seems to not work when the arguments aren't in double quotes.
-- 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: rene.mueller <email protected>: "[PHP-DEV] PHP 4.0 Bug #6908: rmdir fails after using dir()"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

