PHP Trouble
Wednesday 1st July, 2009 09:32 Comments: 0
I've been playing around with PHP 5.3.0 and discovered a very annoying quirk. It's not a bug, it's a configuration issue. If you don't modify php.ini to state what timezone you're in, any calls to anything time or date related (e.g. date(), mktime(), strtotime()) will cause an error message. Depending on how you've configured your server, this can lead to all sorts of issues.