From: jay3ld at yahoo dot com Operating system: N/A PHP version: 6CVS-2008-03-10 (snap) PHP Bug Type: Unknown/Other Function Bug description: phpinfo() warns about date strict standards
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 bug report at http://bugs.php.net/?id=44385&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44385&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44385&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44385&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44385&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44385&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44385&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44385&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44385&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44385&r=support Expected behavior: http://bugs.php.net/fix.php?id=44385&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44385&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44385&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44385&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44385&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44385&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44385&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44385&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44385&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44385&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44385&r=mysqlcfg