reference/datetime/functions/date-default-timezone-get.xml
4bf21e8867650755d5dea13e01049d2825486ea2
...
...
@@ -24,26 +24,10 @@
24
24
</listitem>
25
25
<listitem>
26
26
<para>
27
-
Prior to PHP 5.4.0 <emphasis>only</emphasis>: Reading the <varname>TZ</varname>
28
-
environment variable (if non empty)
29
-
</para>
30
-
</listitem>
31
-
<listitem>
32
-
<para>
33
27
Reading the value of the <link linkend="ini.date.timezone">date.timezone</link> ini option
34
28
(if set)
35
29
</para>
36
30
</listitem>
37
-
<listitem>
38
-
<para>
39
-
Prior to PHP 5.4.0 <emphasis>only</emphasis>: Querying the host operating system (if supported
40
-
and allowed by the OS). This uses an algorithm
41
-
that has to <emphasis>guess</emphasis> the timezone. This is by no means going to work correctly for
42
-
every situation. A warning is shown when this stage is reached. Do not rely on it to be guessed
43
-
correctly, and set <link linkend="ini.date.timezone">date.timezone</link> to the correct timezone
44
-
instead.
45
-
</para>
46
-
</listitem>
47
31
</itemizedlist>
48
32
</para>
49
33
<para>
...
...
@@ -52,6 +36,11 @@
52
36
</para>
53
37
</refsect1>
54
38

39
+
<refsect1 role="parameters">
40
+
&reftitle.parameters;
41
+
&no.function.parameters;
42
+
</refsect1>
43
+
55
44
<refsect1 role="returnvalues">
56
45
&reftitle.returnvalues;
57
46
<para>
...
...
@@ -59,38 +48,6 @@
59
48
</para>
60
49
</refsect1>
61
50

62
-
<refsect1 role="changelog">
63
-
&reftitle.changelog;
64
-
<para>
65
-
<informaltable>
66
-
<tgroup cols="2">
67
-
<thead>
68
-
<row>
69
-
<entry>&Version;</entry>
70
-
<entry>&Description;</entry>
71
-
</row>
72
-
</thead>
73
-
<tbody>
74
-
<row>
75
-
<entry>5.4.0</entry>
76
-
<entry>
77
-
The <literal>TZ</literal> environment variable is no longer used to
78
-
guess the timezone.
79
-
</entry>
80
-
</row>
81
-
<row>
82
-
<entry>5.4.0</entry>
83
-
<entry>
84
-
The timezone is no longer guessed from information available through the
85
-
operating system as the guessed timezone can not be relied on.
86
-
</entry>
87
-
</row>
88
-
</tbody>
89
-
</tgroup>
90
-
</informaltable>
91
-
</para>
92
-
</refsect1>
93
-

94
51
<refsect1 role="examples">
95
52
&reftitle.examples;
96
53
<para>
97
54