E_STRICT crashes php if date.timezone is not set in php.ini

In case you use the following in your php.ini:

You might notice that if you do a phpinfo() that php crashes the apache child.

Reason is a bug in php that causes an infinite loop.

You can solve this by setting “date.timezone =” to your timezone.

You can also set this in your script with ini_set() but I would go for the php.ini since thats a more permanent solution.

For a list of timezones check:
http://www.php.net/datetime