reference/datetime/ini.xml
d4d5216e7a965ca194f6b1c9dee84cecab2674e5
...
...
@@ -15,36 +15,37 @@
15
15
<entry>&Changelog;</entry>
16
16
</row>
17
17
</thead>
18
-
<tbody>
18
+
<tbody xml:id="datetime.configuration.list">
19
19
<row>
20
20
<entry><link linkend="ini.date.default-latitude">date.default_latitude</link></entry>
21
21
<entry>"31.7667"</entry>
22
-
<entry>PHP_INI_ALL</entry>
23
-
<entry>Available since PHP 5.0.0.</entry>
22
+
<entry><constant>INI_ALL</constant></entry>
23
+
<entry></entry>
24
24
</row>
25
25
<row>
26
26
<entry><link linkend="ini.date.default-longitude">date.default_longitude</link></entry>
27
27
<entry>"35.2333"</entry>
28
-
<entry>PHP_INI_ALL</entry>
29
-
<entry>Available since PHP 5.0.0.</entry>
28
+
<entry><constant>INI_ALL</constant></entry>
29
+
<entry></entry>
30
30
</row>
31
31
<row>
32
32
<entry><link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link></entry>
33
-
<entry>"90.583333"</entry>
34
-
<entry>PHP_INI_ALL</entry>
35
-
<entry>Available since PHP 5.0.0.</entry>
33
+
<entry>"90.833333"</entry>
34
+
<entry><constant>INI_ALL</constant></entry>
35
+
<entry>Prior to PHP 8.0.0, the default was "90.583333"</entry>
36
36
</row>
37
37
<row>
38
38
<entry><link linkend="ini.date.sunset-zenith">date.sunset_zenith</link></entry>
39
-
<entry>"90.583333"</entry>
40
-
<entry>PHP_INI_ALL</entry>
41
-
<entry>Available since PHP 5.0.0.</entry>
39
+
<entry>"90.833333"</entry>
40
+
<entry><constant>INI_ALL</constant></entry>
41
+
<entry>Prior to PHP 8.0.0, the default was "90.583333"</entry>
42
42
</row>
43
43
<row>
44
44
<entry><link linkend="ini.date.timezone">date.timezone</link></entry>
45
-
<entry>""</entry>
46
-
<entry>PHP_INI_ALL</entry>
47
-
<entry>Available since PHP 5.1.0.</entry>
45
+
<entry>"UTC"</entry>
46
+
<entry><constant>INI_ALL</constant></entry>
47
+
<entry>From PHP 8.2, a warning is emitted when setting this to an invalid
48
+
value or an empty string.</entry>
48
49
</row>
49
50
</tbody>
50
51
</tgroup>
...
...
@@ -63,7 +64,9 @@
63
64
</term>
64
65
<listitem>
65
66
<para>
66
-
The default latitude.
67
+
The default latitude
68
+
ranging from <literal>0</literal> at the equator,
69
+
to <literal>+90</literal> northward, and <literal>-90</literal> southward.
67
70
</para>
68
71
</listitem>
69
72
</varlistentry>
...
...
@@ -75,7 +78,9 @@
75
78
</term>
76
79
<listitem>
77
80
<para>
78
-
The default longitude.
81
+
The default longitude
82
+
ranging from <literal>0</literal> at the prime meridian
83
+
to <literal>+180</literal> eastward and <literal>−180</literal> westward.
79
84
</para>
80
85
</listitem>
81
86
</varlistentry>
...
...
@@ -89,6 +94,11 @@
89
94
<para>
90
95
The default sunrise zenith.
91
96
</para>
97
+
<para>
98
+
The default value is 90°50'. The additional 50' is due to two
99
+
components: the Sun's radius, which is 16', and the atmospheric
100
+
refraction, which is 34'.
101
+
</para>
92
102
</listitem>
93
103
</varlistentry>
94
104

...
...
@@ -111,9 +121,8 @@
111
121
</term>
112
122
<listitem>
113
123
<para>
114
-
The default timezone used by all date/time functions. Prior to PHP 5.4.0,
115
-
this would only work if the <varname>TZ</varname> environment variable
116
-
was not set. The precedence order for which timezone is used if none
124
+
The default timezone used by all date/time functions.
125
+
The precedence order for which timezone is used if none
117
126
is explicitly mentioned is described in the
118
127
<function>date_default_timezone_get</function> page. See <xref
119
128
linkend="timezones"/> for a list of supported timezones.
120
129