As installed, RH 6.1, php3, and apache-1.3.9 (and/or SWS 3.1) yield incorrect values when calling gmmktime, e.g. calling gmmktime and mktime yield the same (local) time values: <P><? echo gmmktime(0,0,0,1,1,2000) ?></P> <P><? echo mktime(0,0,0,1,1,2000) ?></P> yields 946702800 946702800 when the two should differ by 5 hours (86400 secs) (in my case). Not sure if this is a configuration problem elsewhere. I could find no TZ config info in php.ini. Perl gmtime() yields the expected values.
for php 3.0.14 that will ship with 6.2, these are the results: 946684800 946702800 on my system, which is correct. This poblem appears to be corrected.