note 81908 added to ref.datetime
| From: | Robb_Bean at gmx dot nospam dot net | Date: | Tue, 18 Mar 2008 23:47:24 +0000 |
| Subject: | note 81908 added to ref.datetime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137189@lists.php.net to get a copy of this message | ||
With PHP 5.1 and 5.2 the languages datetime support has changed. Although these functions should
guess your local timezone settings, they may fail if using a default configuration in a
"pre-5.1 way", which means setting no timezone for PHP. In the case PHP could not get a
timezone it emits a E_STRICT warning. Note that this affects _all_ datetime functions and keep it in
mind when porting software from previous versions to 5.1 or later! It may also confuse your error
handling (this is the way I noticed that things have changed, since these changes are not
documentated _here_).
References:
http://www.php.net/manual/de/migration51.datetime.php
http://www.php.net/manual/de/migration52.datetime.php
----
Server IP: 69.147.83.197
Probable Submitter: 84.58.180.254
----
Manual Page -- http://www.php.net/manual/en/ref.datetime.php
Edit -- https://master.php.net/note/edit/81908
Del: integrated -- https://master.php.net/note/delete/81908/integrated
Del: useless -- https://master.php.net/note/delete/81908/useless
Del: bad code -- https://master.php.net/note/delete/81908/bad+code
Del: spam -- https://master.php.net/note/delete/81908/spam
Del: non-english -- https://master.php.net/note/delete/81908/non-english
Del: in docs -- https://master.php.net/note/delete/81908/in+docs
Del: other reasons-- https://master.php.net/note/delete/81908
Reject -- https://master.php.net/note/reject/81908
Search -- https://master.php.net/manage/user-notes.php