mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #75073: date_default_timezone_set() doesn't reflect removal
This commit is contained in:
parent
37323ead95
commit
0a10abc505
1 changed files with 0 additions and 9 deletions
|
@ -17,15 +17,6 @@
|
|||
<function>date_default_timezone_set</function> sets the default timezone
|
||||
used by all date/time functions.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Since PHP 5.1.0 (when the date/time functions were rewritten), every call
|
||||
to a date/time function will generate a <constant>E_NOTICE</constant> if
|
||||
the timezone isn't valid, and/or a <constant>E_WARNING</constant> message
|
||||
if using the system settings or the <varname>TZ</varname> environment
|
||||
variable.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
Instead of using this function to set the default timezone in your script,
|
||||
you can also use the INI setting <link
|
||||
|
|
Loading…
Reference in a new issue