Re: [PHP-DEV] Re: cvs: php4 /ext/standard datetime.c

2002-09-24 Thread Ilia A.
On September 24, 2002 11:34 pm, Yasuo Ohgaki wrote: > Ilia A. wrote: > > '"time_t" is not defined for negative values and results may be > > unpredictable'. > > > > As I understand this statement, if you rely on a valid output when given > > a negative value you make your code dependant on an OS. E

Re: [PHP-DEV] Re: cvs: php4 /ext/standard datetime.c

2002-09-24 Thread Yasuo Ohgaki
Ilia A. wrote: > '"time_t" is not defined for negative values and results may be > unpredictable'. > > As I understand this statement, if you rely on a valid output when given a > negative value you make your code dependant on an OS. Even though your code > may work on Linux, it'll not work on

Re: [PHP-DEV] Re: cvs: php4 /ext/standard datetime.c

2002-09-24 Thread Ilia A.
'"time_t" is not defined for negative values and results may be unpredictable'. As I understand this statement, if you rely on a valid output when given a negative value you make your code dependant on an OS. Even though your code may work on Linux, it'll not work on Windows and possibly other