RE: Itanium2 test from 15.04.-14.05.

php.internals

Kai Hofmann

22 years ago
For your information: 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. I have no idea if other php scripts will work in the same way, so it might be an idea to catch this kind of error within the php mktime() C-code. Greetings Kai Hofmann
-- ***** Open Source und Linux im professionellen Einsatz ***** ** komplexe Mailserver, Groupware, Office: sprechen Sie uns an ** Dipl.-Inform. Kai Hofmann Team Softwarelösungen pro|business AG, EXPO Plaza 1 (Deutscher Pavillon), 30539 Hannover E-Mail: KHofmann@probusiness.de, Tel.: 0511/60066-332, Fax: -355 WWW: http://www.probusiness.de/

Magnus Maatta

22 years ago
On Thursday 06 May 2004 08.31, Kai Hofmann wrote:
> For your information: > > 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 ?
-- There but for the grace of God, goes God. -- Winston Churchill, speaking of Sir Stafford Cripps.

Christian Schneider

22 years ago
Kai Hofmann wrote:
> phpGW has used mktime() with day values <= 0
This is a valid and documented way of using mktime to do date calculation.
> This seems to be fixed (magically) by the underlying Unix mktime() function
No, it is (or should be) handled in the PHP code. Do you have a same script showing what you get and what you expect? Which version of PHP are you using? - Chris