#44385 [Opn->Bgs]: phpinfo() warns about date strict standards
ID: 44385
Updated by: johannes@php.net
Reported By: jay3ld at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: N/A
PHP Version: 6CVS-2008-03-10 (snap)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Broken setup -> warning for that
Previous Comments:
------------------------------------------------------------------------
[2008-03-10 03:20:01] jay3ld at yahoo dot com
Description:
------------
The date section in phpinfo seems to be warning about date strict
standards.
Reproduce code:
---------------
1. Use PHP6
2. Create a simple script with:
<?php phpinfo(); ?>
3. view the date section
Expected result:
----------------
Well, I expect to receive no errors on a phpinfo page.
Actual result:
--------------
Strict Standards: phpinfo() [function.phpinfo]: It is not safe to rely
on the system's timezone settings. Please use the date.timezone setting,
the TZ environment variable or the date_default_timezone_set() function.
In case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier. We selected
'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /****/phpinfo.php on
line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44385&edit=1
Thread (2 messages)