I wrote a test script for this and compared the output of the test script
with the output from the earlier posted class method.
Really strange is that the test script will have the same result as the
32bit machines (the correct one).
Maybe an memory managment problem within classes? Or any other i
else
+ {
+ --$month;
+ }
+ $day =
$this->days_in_month($month,$year) + ($day - $weekday);
+ }
+ else
+ {
+ $day -= $weekday;
+ }
}
+ $sday = mktime(2,0,0,$month,$day,$year);
return $sday - 7200;
}
any ideas?
Greetings and Thanks
Kai Hofmann
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ystems.
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
m 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*
** kompl
y php too (that means that HP will promote that php
works on Itanium 2 ;-)
Greetings
Kai Hofmann / PowerStat
P.S.: I heared that there might be problems with array functionality of php
on 64Bit platforms.
--
*Open Source und Linux im professionellen Einsatz*
** kom