i really want to use the new timezone functions, but they require php >=5.1.0. so should i make 5.1.0 mandatory, or should we stick with php 4?
http://us2.php.net/manual/en/function.timezon … s-list.php
using php >=5.1.0 will make daylight savings time automatic and beautiful. you store all timestamps in UTC, then when you use date() to format them, the timestamps within DST get +1, and the others don't. this is the way things should be, instead of running UTC-7 for MST and UTC-6 for MDT.
i guess i could disable per user timezones and print UTC if the server isn't running php >=5.1.0.
thoughts?
isn't PHP 5 pretty common now? I don't know much about common hosting options though, so I'm not sure how common only offering PHP 4 is. just gotta weigh that against the importance of the new features, obv.
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
this is a really simplistic forum. it seems kind of a waste to make it php4 incompatible over one feature...
however php is dropping support of php4 dec 31st.