reference/info/constants.xml
87663748fbb51015be41d55bbd7f7d000e5aae3b
...
...
@@ -8,9 +8,9 @@
8
8
<tgroup cols="3">
9
9
<thead>
10
10
<row>
11
-
<entry>Constant</entry>
11
+
<entry>&Constants;</entry>
12
12
<entry>Value</entry>
13
-
<entry>Description</entry>
13
+
<entry>&Description;</entry>
14
14
</row>
15
15
</thead>
16
16
<tbody>
...
...
@@ -84,9 +84,9 @@
84
84
<tgroup cols="3">
85
85
<thead>
86
86
<row>
87
-
<entry>Constant</entry>
87
+
<entry>&Constants;</entry>
88
88
<entry>Value</entry>
89
-
<entry>Description</entry>
89
+
<entry>&Description;</entry>
90
90
</row>
91
91
</thead>
92
92
<tbody>
...
...
@@ -156,36 +156,53 @@
156
156
</tgroup>
157
157
</table>
158
158

159
-
<table>
160
-
<title>INI constants</title>
161
-
<tgroup cols="3">
159
+
<table xml:id="constant.ini-mode">
160
+
<title>INI mode constants</title>
161
+
<tgroup cols="2">
162
162
<thead>
163
163
<row>
164
-
<entry>Constant</entry>
165
-
<entry>Value</entry>
166
-
<entry>Description</entry>
164
+
<entry>&Constants;</entry>
165
+
<entry>&Description;</entry>
167
166
</row>
168
167
</thead>
169
168
<tbody>
170
-
<row xml:id="constant.ini-user">
171
-
<entry><literal>INI_USER</literal></entry>
172
-
<entry>1</entry>
173
-
<entry>Unused</entry>
169
+
<row>
170
+
<entry>
171
+
<constant>INI_USER</constant>
172
+
(<type>int</type>)
173
+
</entry>
174
+
<entry>
175
+
Entry can be set in user scripts (like with <function>ini_set</function>)
176
+
or in the <link linkend="configuration.changes.windows">Windows registry</link>.
177
+
Entry can be set in &user-ini;
178
+
</entry>
174
179
</row>
175
-
<row xml:id="constant.ini-perdir">
176
-
<entry><literal>INI_PERDIR</literal></entry>
177
-
<entry>2</entry>
178
-
<entry>Unused</entry>
180
+
<row>
181
+
<entry>
182
+
<constant>INI_PERDIR</constant>
183
+
(<type>int</type>)
184
+
</entry>
185
+
<entry>
186
+
Entry can be set in &php.ini;, &htaccess;, &httpd.conf; or &user-ini;
187
+
</entry>
179
188
</row>
180
-
<row xml:id="constant.ini-system">
181
-
<entry><literal>INI_SYSTEM</literal></entry>
182
-
<entry>4</entry>
183
-
<entry>Unused</entry>
189
+
<row>
190
+
<entry>
191
+
<constant>INI_SYSTEM</constant>
192
+
(<type>int</type>)
193
+
</entry>
194
+
<entry>
195
+
Entry can be set in &php.ini; or &httpd.conf;
196
+
</entry>
184
197
</row>
185
-
<row xml:id="constant.ini-all">
186
-
<entry><literal>INI_ALL</literal></entry>
187
-
<entry>7</entry>
188
-
<entry>Unused</entry>
198
+
<row>
199
+
<entry>
200
+
<constant>INI_ALL</constant>
201
+
(<type>int</type>)
202
+
</entry>
203
+
<entry>
204
+
Entry can be set anywhere
205
+
</entry>
189
206
</row>
190
207
</tbody>
191
208
</tgroup>
...
...
@@ -200,45 +217,58 @@
200
217
<tgroup cols="3">
201
218
<thead>
202
219
<row>
203
-
<entry>Constant</entry>
220
+
<entry>&Constants;</entry>
204
221
<entry>INI Setting</entry>
205
-
<entry>Description</entry>
222
+
<entry>&Description;</entry>
206
223
</row>
207
224
</thead>
208
225
<tbody>
209
226
<row xml:id="constant.assert-active">
210
227
<entry><constant>ASSERT_ACTIVE</constant></entry>
211
-
<entry>assert.active</entry>
228
+
<entry><link linkend="ini.assert.active">assert.active</link></entry>
212
229
<entry>
213
230
Enable <function>assert</function> evaluation.
231
+
&warn.deprecated.feature-8-3-0;
214
232
</entry>
215
233
</row>
216
234
<row xml:id="constant.assert-callback">
217
235
<entry><constant>ASSERT_CALLBACK</constant></entry>
218
-
<entry>assert.callback</entry>
236
+
<entry><link linkend="ini.assert.callback">assert.callback</link></entry>
219
237
<entry>
220
238
Callback to call on failed assertions.
239
+
&warn.deprecated.feature-8-3-0;
221
240
</entry>
222
241
</row>
223
242
<row xml:id="constant.assert-bail">
224
243
<entry><constant>ASSERT_BAIL</constant></entry>
225
-
<entry>assert.bail</entry>
244
+
<entry><link linkend="ini.assert.bail">assert.bail</link></entry>
226
245
<entry>
227
246
Terminate execution on failed assertions.
247
+
&warn.deprecated.feature-8-3-0;
248
+
</entry>
249
+
</row>
250
+
<row xml:id="constant.assert-exception">
251
+
<entry><constant>ASSERT_EXCEPTION</constant></entry>
252
+
<entry><link linkend="ini.assert.exception">assert.exception</link></entry>
253
+
<entry>
254
+
Issues a PHP warning for each failed assertion
255
+
&warn.deprecated.feature-8-3-0;
228
256
</entry>
229
257
</row>
230
258
<row xml:id="constant.assert-warning">
231
259
<entry><constant>ASSERT_WARNING</constant></entry>
232
-
<entry>assert.warning</entry>
260
+
<entry><link linkend="ini.assert.warning">assert.warning</link></entry>
233
261
<entry>
234
262
Issues a PHP warning for each failed assertion
263
+
&warn.deprecated.feature-8-3-0;
235
264
</entry>
236
265
</row>
237
266
<row xml:id="constant.assert-quiet-eval">
238
267
<entry><constant>ASSERT_QUIET_EVAL</constant></entry>
239
-
<entry>assert.quiet_eval</entry>
268
+
<entry><link linkend="ini.assert.quiet-eval">assert.quiet_eval</link></entry>
240
269
<entry>
241
270
Disable <literal>error_reporting</literal> during assertion expression evaluation.
271
+
&warn.feature.removed-8-0-0;
242
272
</entry>
243
273
</row>
244
274
</tbody>
...
...
@@ -249,7 +279,6 @@
249
279
The following constants are only available if the host operating
250
280
system is Windows, and can tell different versioning information
251
281
so its possible to detect various features and make use of them.
252
-
They are all available as of PHP 5.3.0.
253
282
</simpara>
254
283
<table>
255
284
<title>Windows specific constants</title>
256
285