RE: [PHP-DEV] Itanium2 test from 15.04.-14.05.

From: Date: Thu, 06 May 2004 11:13:33 +0000
Subject: RE: [PHP-DEV] Itanium2 test from 15.04.-14.05.
Groups: php.internals 
Request: Send a blank email to internals+get-9680@lists.php.net to get a copy of this message
> > Until now we found with php / phpGroupWare only one problem on > > the Itanium 2 machine. > > > > phpGW has used mktime() with day values <= 0 > > This seems to be fixed (magically) by the underlying Unix > mktime() function > > on 32-Bit Linux/Windows Systems, but not on the RedHat Itanium 2 > > distribution we used for testing. > > Do you have a script to illustrate this problem ? The Script is (in php) quite simple: <?php echo mktime(2,0,0,4,-6,2004); /* or 0 to -5 */ ?> run this with php 4.3.6 on a 32-bit system and on Itanium2 and compare the seconds returned back from both systems. I have differences of ~ 2 days there which can not be the DST setting. I am not sure of the relevance of http://bugs.php.net/bug.php?id=10686 regarding this. It might also be that the bug is in the implementation of mktime() from Linux (it's a RH AS 2.1 IA64). I still have to do more testing - but not much time to do so :( Greetings Kai Hofmann

« previous php.internals (#9680) next »