ID:               26111
 User updated by:  chris at astra dot net dot uk
 Reported By:      chris at astra dot net dot uk
 Status:           Open
 Bug Type:         Date/time related
 Operating System: FreeBSD
 PHP Version:      4.3.3
 New Comment:

4.9-PRERELEASE gives the same error here, php was compiled from the
FreeBSD ports collection (PHP 4.3.4RC1).

I am now upgrading to 4.9-RELEASE...


Previous Comments:
------------------------------------------------------------------------

[2003-11-04 08:28:17] chris at astra dot net dot uk

getting the same error on 4.7-RELEASE, 4.8-RELEASE and 5.0-RELEASE.
I will install 4.9-PRERELEASE and test it now.

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

[2003-11-04 08:20:30] chris at astra dot net dot uk

echo mktime(12,1,1,3,28,2004);
echo gmmktime(12,1,1,3,28,2004);
both return 1080478861 (1969Sun, 28 Mar 2004 14:01:01 +0100)

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

[2003-11-04 08:18:59] [EMAIL PROTECTED]

Also works fine with Freebsd 4.9-PRERELEASE (whatever that means)


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

[2003-11-04 08:14:27] [EMAIL PROTECTED]

Try this too:

echo mktime(12,1,1,3,28,2004);
echo gmmktime(12,1,1,3,28,2004);

Just to note: These all work just fine with Linux. :)


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

[2003-11-04 08:10:36] chris at astra dot net dot uk

echo date("r", mktime(1,1,1,3,28,2004));
echo date("r", gmmktime(1,1,1,3,28,2004));
returns:
Thu, 1 Jan 1970 00:59:59 +0100
Thu, 1 Jan 1970 00:59:59 +0100

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26111

-- 
Edit this bug report at http://bugs.php.net/?id=26111&edit=1

Reply via email to