[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-bugs
Subject: [DOC-BUGS] Doc #75073 [Opn->Ver]: date_default_timezone_set() doesn't reflect removal
From: cmb () php ! net
Date: 2020-03-19 11:34:38
Message-ID: E1jEtRe-0008VM-TZ () bugs ! php ! net
[Download RAW message or body]
Edit report at https://bugs.php.net/bug.php?id=75073&edit=1
ID: 75073
Updated by: cmb@php.net
Reported by: terrafrost@php.net
Summary: date_default_timezone_set() doesn't reflect removal
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Date/time related
Operating System: all
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-08-14 04:18:24] terrafrost@php.net
Description:
------------
According to <http://php.net/manual/en/function.date-default-timezone-set.php>, \
"Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a \
date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a \
E_WARNING message if using the system settings or the TZ environment variable.".
The changelog section of that page says that in 5.3.0 the behavior was changed to \
throw "E_WARNING rather than E_STRICT".
The fact that neither is thrown as of PHP 7.0, however, is not mentioned and it seems \
like it ought to be:
http://php.net/manual/en/migration70.other-changes.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75073&edit=1
--
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic