appendices/ini.core.xml
d4d5216e7a965ca194f6b1c9dee84cecab2674e5
...
...
@@ -33,46 +33,27 @@
33
33
<row>
34
34
<entry><link linkend="ini.short-open-tag">short_open_tag</link></entry>
35
35
<entry>"1"</entry>
36
-
<entry>PHP_INI_PERDIR</entry>
36
+
<entry><constant>INI_PERDIR</constant></entry>
37
37
<entry></entry>
38
38
</row>
39
39
<row>
40
-
<entry><link linkend="ini.asp-tags">asp_tags</link></entry>
41
-
<entry>"0"</entry>
42
-
<entry>PHP_INI_PERDIR</entry>
43
-
<entry>Removed in PHP 7.0.0.</entry>
44
-
</row>
45
-
<row>
46
40
<entry><link linkend="ini.precision">precision</link></entry>
47
41
<entry>"14"</entry>
48
-
<entry>PHP_INI_ALL</entry>
42
+
<entry><constant>INI_ALL</constant></entry>
49
43
<entry></entry>
50
44
</row>
51
45
<row>
52
46
<entry><link linkend="ini.serialize-precision">serialize_precision</link></entry>
53
47
<entry>"-1"</entry>
54
-
<entry>PHP_INI_ALL</entry>
48
+
<entry><constant>INI_ALL</constant></entry>
55
49
<entry>
56
-
Before PHP 5.3.6, the default value was 100.
57
-
Before PHP 7.1.0, the default value was 17.
50
+
Prior to PHP 7.1.0, the default value was 17.
58
51
</entry>
59
52
</row>
60
53
<row>
61
-
<entry><link linkend="ini.y2k-compliance">y2k_compliance</link></entry>
62
-
<entry>"1"</entry>
63
-
<entry>PHP_INI_ALL</entry>
64
-
<entry>Removed in PHP 5.4.0.</entry>
65
-
</row>
66
-
<row>
67
-
<entry><link linkend="ini.allow-call-time-pass-reference">allow_call_time_pass_reference</link></entry>
68
-
<entry>"1"</entry>
69
-
<entry>PHP_INI_PERDIR</entry>
70
-
<entry>Removed in PHP 5.4.0.</entry>
71
-
</row>
72
-
<row>
73
54
<entry><link linkend="ini.disable-functions">disable_functions</link></entry>
74
55
<entry>""</entry>
75
-
<entry>PHP_INI_SYSTEM only</entry>
56
+
<entry><constant>INI_SYSTEM</constant> only</entry>
76
57
<entry></entry>
77
58
</row>
78
59
<row>
...
...
@@ -84,8 +65,8 @@
84
65
<row>
85
66
<entry><link linkend="ini.exit-on-timeout">exit_on_timeout</link></entry>
86
67
<entry>""</entry>
87
-
<entry>PHP_INI_ALL</entry>
88
-
<entry>Available since PHP 5.3.0.</entry>
68
+
<entry><constant>INI_ALL</constant></entry>
69
+
<entry></entry>
89
70
</row>
90
71
<row>
91
72
<entry><link linkend="ini.expose-php">expose_php</link></entry>
...
...
@@ -96,56 +77,50 @@
96
77
<row>
97
78
<entry><link linkend="ini.hard-timeout">hard_timeout</link></entry>
98
79
<entry>"2"</entry>
99
-
<entry>PHP_INI_SYSTEM</entry>
100
-
<entry>Available since PHP 7.1.0.</entry>
80
+
<entry><constant>INI_SYSTEM</constant></entry>
81
+
<entry>Available as of PHP 7.1.0.</entry>
101
82
</row>
102
83
<row>
103
84
<entry><link linkend="ini.zend.exception-ignore-args">zend.exception_ignore_args</link></entry>
104
85
<entry>"0"</entry>
105
-
<entry>PHP_INI_ALL</entry>
106
-
<entry>Available since PHP 7.4.0</entry>
86
+
<entry><constant>INI_ALL</constant></entry>
87
+
<entry>Available as of PHP 7.4.0</entry>
107
88
</row>
108
89
<row>
109
90
<entry><link linkend="ini.zend.multibyte">zend.multibyte</link></entry>
110
91
<entry>"0"</entry>
111
-
<entry>PHP_INI_ALL</entry>
112
-
<entry>Available since PHP 5.4.0</entry>
92
+
<entry><constant>INI_ALL</constant></entry>
93
+
<entry></entry>
113
94
</row>
114
95
<row>
115
96
<entry><link linkend="ini.zend.script-encoding">zend.script_encoding</link></entry>
116
97
<entry>NULL</entry>
117
-
<entry>PHP_INI_ALL</entry>
118
-
<entry>Available since PHP 5.4.0</entry>
98
+
<entry><constant>INI_ALL</constant></entry>
99
+
<entry></entry>
119
100
</row>
120
101
<row>
121
-
<entry><link linkend="ini.zend.detect-unicode">zend.detect-unicode</link></entry>
102
+
<entry><link linkend="ini.zend.detect-unicode">zend.detect_unicode</link></entry>
122
103
<entry>NULL</entry>
123
-
<entry>PHP_INI_ALL</entry>
124
-
<entry>Available since PHP 5.4.0</entry>
104
+
<entry><constant>INI_ALL</constant></entry>
105
+
<entry></entry>
125
106
</row>
126
107
<row>
127
108
<entry><link linkend="ini.zend.signal-check">zend.signal_check</link></entry>
128
109
<entry>"0"</entry>
129
-
<entry>PHP_INI_SYSTEM</entry>
130
-
<entry>Available since PHP 5.4.0</entry>
110
+
<entry><constant>INI_SYSTEM</constant></entry>
111
+
<entry></entry>
131
112
</row>
132
113
<row>
133
114
<entry><link linkend="ini.zend.assertions">zend.assertions</link></entry>
134
115
<entry>"1"</entry>
135
-
<entry>PHP_INI_ALL with restrictions</entry>
136
-
<entry>Available since PHP 7.0.0.</entry>
137
-
</row>
138
-
<row>
139
-
<entry><link linkend="ini.zend.ze1-compatibility-mode">zend.ze1_compatibility_mode</link></entry>
140
-
<entry>"0"</entry>
141
-
<entry>PHP_INI_ALL</entry>
142
-
<entry>Removed in PHP 5.3.0</entry>
116
+
<entry><constant>INI_ALL</constant> with restrictions</entry>
117
+
<entry></entry>
143
118
</row>
144
119
<row>
145
-
<entry>detect_unicode</entry>
146
-
<entry>"1"</entry>
147
-
<entry>PHP_INI_ALL</entry>
148
-
<entry>Available since PHP 5.1.0. Renamed to <link linkend="ini.zend.detect-unicode">zend.detect-unicode</link> from PHP 5.4.0.</entry>
120
+
<entry><link linkend="ini.zend.exception-string-param-max-len">zend.exception_string_param_max_len</link></entry>
121
+
<entry>"15"</entry>
122
+
<entry><constant>INI_ALL</constant></entry>
123
+
<entry>Available as of PHP 8.0.0.</entry>
149
124
</row>
150
125
</tbody>
151
126
</tgroup>
...
...
@@ -159,7 +134,7 @@
159
134
<varlistentry xml:id="ini.short-open-tag">
160
135
<term>
161
136
<parameter>short_open_tag</parameter>
162
-
<type>boolean</type>
137
+
<type>bool</type>
163
138
</term>
164
139
<listitem>
165
140
<para>
...
...
@@ -173,58 +148,17 @@
173
148
</para>
174
149
<note>
175
150
<para>
176
-
This directive also affected the shorthand
177
-
<userinput>&lt;?=</userinput> before PHP 5.4.0,
178
-
which is identical to <userinput>&lt;? echo</userinput>. Use of this
179
-
shortcut required <systemitem role="directive">short_open_tag</systemitem>
180
-
to be on.
181
-
Since PHP 5.4.0, <userinput>&lt;?=</userinput> is always available.
151
+
This directive does not affect the shorthand
152
+
<userinput>&lt;?=</userinput>, which is always available.
182
153
</para>
183
154
</note>
184
155
</listitem>
185
156
</varlistentry>
186
157
187
-
<varlistentry xml:id="ini.asp-tags">
188
-
<term>
189
-
<parameter>asp_tags</parameter>
190
-
<type>boolean</type>
191
-
</term>
192
-
<listitem>
193
-
<simpara>
194
-
Enables the use of ASP-like &lt;% %&gt; tags in addition to
195
-
the usual &lt;?php ?&gt; tags. This includes the
196
-
variable-value printing shorthand of &lt;%= $value %&gt;. For
197
-
more information, see <link
198
-
linkend="language.basic-syntax.phpmode">Escaping from HTML</link>.
199
-
</simpara>
200
-
<para>
201
-
<table>
202
-
<title>Changelog for <literal>asp_tags</literal></title>
203
-
<tgroup cols="2">
204
-
<thead>
205
-
<row>
206
-
<entry>&Version;</entry>
207
-
<entry>&Description;</entry>
208
-
</row>
209
-
</thead>
210
-
<tbody>
211
-
<row>
212
-
<entry>7.0.0</entry>
213
-
<entry>
214
-
Removed from PHP.
215
-
</entry>
216
-
</row>
217
-
</tbody>
218
-
</tgroup>
219
-
</table>
220
-
</para>
221
-
</listitem>
222
-
</varlistentry>
223
-
224
158
<varlistentry xml:id="ini.precision">
225
159
<term>
226
160
<parameter>precision</parameter>
227
-
<type>integer</type>
161
+
<type>int</type>
228
162
</term>
229
163
<listitem>
230
164
<simpara>
...
...
@@ -238,7 +172,7 @@
238
172
<varlistentry xml:id="ini.serialize-precision">
239
173
<term>
240
174
<parameter>serialize_precision</parameter>
241
-
<type>integer</type>
175
+
<type>int</type>
242
176
</term>
243
177
<listitem>
244
178
<simpara>
...
...
@@ -249,105 +183,15 @@
249
183
</listitem>
250
184
</varlistentry>
251
185
252
-
<varlistentry xml:id="ini.y2k-compliance">
253
-
<term>
254
-
<parameter>y2k_compliance</parameter>
255
-
<type>boolean</type>
256
-
</term>
257
-
<listitem>
258
-
<simpara>
259
-
Enforce year 2000 compliance (will cause problems with non-compliant browsers)
260
-
</simpara>
261
-
</listitem>
262
-
</varlistentry>
263
-
264
-
265
-
<varlistentry xml:id="ini.allow-call-time-pass-reference">
266
-
<term>
267
-
<parameter>allow_call_time_pass_reference</parameter>
268
-
<type>boolean</type>
269
-
</term>
270
-
<listitem>
271
-
<para>
272
-
Whether to warn when arguments are passed by reference at function call time.
273
-
The encouraged method of specifying which arguments should be passed by
274
-
reference is in the function declaration. You're encouraged to try and turn
275
-
this option Off and make sure your scripts work properly with it in order to
276
-
ensure they will work with future versions of the language (you will receive
277
-
a warning each time you use this feature).
278
-
</para>
279
-
<para>
280
-
Passing arguments by reference at function call time was deprecated for
281
-
code-cleanliness reasons. A function can modify its arguments in an
282
-
undocumented way if it didn't declare that the argument shall be passed by
283
-
reference. To prevent side-effects it's better to specify which
284
-
arguments are passed by reference in the function declaration only.
285
-
</para>
286
-
<para>
287
-
See also <link linkend="language.references">References Explained</link>.
288
-
</para>
289
-
<para>
290
-
<table>
291
-
<title>Changelog for <literal>allow_call_time_pass_reference</literal></title>
292
-
<tgroup cols="2">
293
-
<thead>
294
-
<row>
295
-
<entry>&Version;</entry>
296
-
<entry>&Description;</entry>
297
-
</row>
298
-
</thead>
299
-
<tbody>
300
-
<row>
301
-
<entry>5.4.0</entry>
302
-
<entry>
303
-
Removed from PHP.
304
-
</entry>
305
-
</row>
306
-
<row>
307
-
<entry>5.3.0</entry>
308
-
<entry>
309
-
Emits an <constant>E_DEPRECATED</constant> level error.
310
-
</entry>
311
-
</row>
312
-
<row>
313
-
<entry>5.0.0</entry>
314
-
<entry>
315
-
Deprecated, and generates an <constant>E_COMPILE_WARNING</constant> level error.
316
-
</entry>
317
-
</row>
318
-
</tbody>
319
-
</tgroup>
320
-
</table>
321
-
</para>
322
-
</listitem>
323
-
</varlistentry>
324
-
325
186
<varlistentry xml:id="ini.expose-php">
326
187
<term>
327
188
<parameter>expose_php</parameter>
328
-
<type>boolean</type>
189
+
<type>bool</type>
329
190
</term>
330
191
<listitem>
331
192
<para>
332
193
Exposes to the world that PHP is installed on the server, which includes the
333
194
PHP version within the HTTP header (e.g., X-Powered-By: PHP/5.3.7).
334
-
Prior to PHP 5.5.0 the PHP logo guids are also exposed, thus appending them
335
-
to the URL of your PHP script would display the appropriate logo
336
-
(e.g., <link xlink:href="&url.php;?=PHPE9568F34-D428-11d2-A769-00AA001ACF42">&url.php;?=PHPE9568F34-D428-11d2-A769-00AA001ACF42</link>).
337
-
This also affected the output of <function>phpinfo</function>, as when disabled, the PHP logo
338
-
and credits information would not be displayed.
339
-
</para>
340
-
<note>
341
-
<para>
342
-
Since PHP 5.5.0 these guids and the <function>php_logo_guid</function> function
343
-
have been removed from PHP and the guids are replaced with data URIs instead.
344
-
Thus accessing the PHP logo via appending the guid to the URL no longer works.
345
-
Similarly, turning <parameter>expose_php</parameter> off will not affect
346
-
seeing the PHP logo in <function>phpinfo</function>.
347
-
</para>
348
-
</note>
349
-
<para>
350
-
See also <function>php_logo_guid</function> and <function>phpcredits</function>.
351
195
</para>
352
196
</listitem>
353
197
</varlistentry>
...
...
@@ -394,7 +238,7 @@
394
238
<varlistentry xml:id="ini.zend.assertions">
395
239
<term>
396
240
<parameter>zend.assertions</parameter>
397
-
<type>integer</type>
241
+
<type>int</type>
398
242
</term>
399
243
<listitem>
400
244
<simpara>
...
...
@@ -417,38 +261,39 @@
417
261
</listitem>
418
262
</varlistentry>
419
263

420
-
<varlistentry xml:id="ini.zend.ze1-compatibility-mode">
264
+
<varlistentry xml:id="ini.zend.exception-string-param-max-len">
421
265
<term>
422
-
<parameter>zend.ze1_compatibility_mode</parameter>
423
-
<type>boolean</type>
266
+
<parameter>zend.exception_string_param_max_len</parameter>
267
+
<type>int</type>
424
268
</term>
425
269
<listitem>
426
-
<para>
427
-
Enable compatibility mode with Zend Engine 1 (PHP 4). It affects
428
-
the cloning, casting (objects with no properties cast to &false; or 0), and <link
429
-
linkend="language.oop5.object-comparison">comparing of objects</link>.
430
-
In this mode, objects are passed by value instead of reference by
431
-
default.
432
-
</para>
433
-
<para>
434
-
See also the section titled
435
-
<link linkend="migration5">Migrating from PHP 4 to PHP 5</link>.
436
-
</para>
437
-
<warning>
438
-
<simpara>This feature has been <emphasis>DEPRECATED</emphasis> and <emphasis>REMOVED</emphasis>
439
-
as of PHP 5.3.0.
440
-
</simpara>
441
-
</warning>
270
+
<simpara>
271
+
The maximum length of string function arguments in stringified stack traces.
272
+
Must range between <literal>"0"</literal> and <literal>"1000000"</literal>.
273
+
</simpara>
442
274
</listitem>
443
275
</varlistentry>
444
276

445
277
<varlistentry xml:id="ini.hard-timeout">
446
278
<term>
447
279
<parameter>hard_timeout</parameter>
448
-
<type>integer</type>
280
+
<type>int</type>
449
281
</term>
450
282
<listitem>
451
283
<para>
284
+
When the timeout set in <link linkend="ini.max-execution-time">max_execution_time</link>
285
+
has been hit, the PHP runtime will tear down resources gracefully. If
286
+
something gets stuck while this happens, the hard timeout will tick
287
+
for the set amount of seconds. When the hard timeout is hit, PHP will
288
+
exit ungracefully. When set to 0, the hard timeout will never activate.
289
+
</para>
290
+
<para>
291
+
When PHP stops from a hard timeout, it will look something like this:
292
+
<screen>
293
+
<![CDATA[
294
+
Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unknown on line 0
295
+
]]>
296
+
</screen>
452
297
</para>
453
298
</listitem>
454
299
</varlistentry>
...
...
@@ -456,7 +301,7 @@
456
301
<varlistentry xml:id="ini.zend.exception-ignore-args">
457
302
<term>
458
303
<parameter>zend.exception_ignore_args</parameter>
459
-
<type>boolean</type>
304
+
<type>bool</type>
460
305
</term>
461
306
<listitem>
462
307
<para>
...
...
@@ -468,7 +313,7 @@
468
313
<varlistentry xml:id="ini.zend.multibyte">
469
314
<term>
470
315
<parameter>zend.multibyte</parameter>
471
-
<type>boolean</type>
316
+
<type>bool</type>
472
317
</term>
473
318
<listitem>
474
319
<para>
...
...
@@ -496,7 +341,7 @@
496
341
is used, both zend.multibyte and zend.script_encoding must be used.
497
342
</para>
498
343
<para>
499
-
Literal strings will be transliterated from zend.script_enconding to
344
+
Literal strings will be transliterated from zend.script_encoding to
500
345
mbstring.internal_encoding, as if
501
346
<function>mb_convert_encoding</function> would have been called.
502
347
</para>
...
...
@@ -506,7 +351,7 @@
506
351
<varlistentry xml:id="ini.zend.detect-unicode">
507
352
<term>
508
353
<parameter>zend.detect_unicode</parameter>
509
-
<type>boolean</type>
354
+
<type>bool</type>
510
355
</term>
511
356
<listitem>
512
357
<para>
...
...
@@ -522,7 +367,7 @@
522
367
<varlistentry xml:id="ini.zend.signal-check">
523
368
<term>
524
369
<parameter>zend.signal_check</parameter>
525
-
<type>boolean</type>
370
+
<type>bool</type>
526
371
</term>
527
372
<listitem>
528
373
<para>
...
...
@@ -534,7 +379,7 @@
534
379
<varlistentry xml:id="ini.exit-on-timeout">
535
380
<term>
536
381
<parameter>exit_on_timeout</parameter>
537
-
<type>boolean</type>
382
+
<type>bool</type>
538
383
</term>
539
384
<listitem>
540
385
<para>
...
...
@@ -567,8 +412,8 @@
567
412
<row>
568
413
<entry><link linkend="ini.memory-limit">memory_limit</link></entry>
569
414
<entry>"128M"</entry>
570
-
<entry>PHP_INI_ALL</entry>
571
-
<entry>"8M" before PHP 5.2.0, "16M" in PHP 5.2.0</entry>
415
+
<entry><constant>INI_ALL</constant></entry>
416
+
<entry></entry>
572
417
</row>
573
418
</tbody>
574
419
</tgroup>
...
...
@@ -582,7 +427,7 @@
582
427
<varlistentry xml:id="ini.memory-limit">
583
428
<term>
584
429
<parameter>memory_limit</parameter>
585
-
<type>integer</type>
430
+
<type>int</type>
586
431
</term>
587
432
<listitem>
588
433
<para>
...
...
@@ -591,14 +436,6 @@
591
436
scripts for eating up all available memory on a server. Note that
592
437
to have no memory limit, set this directive to <literal>-1</literal>.
593
438
</para>
594
-
<para>
595
-
Prior to PHP 5.2.1, in order to use this directive it had to
596
-
be enabled at compile time by using
597
-
<option role="configure">--enable-memory-limit</option> in the
598
-
configure line. This compile-time flag was also required to define
599
-
the functions <function>memory_get_usage</function> and
600
-
<function>memory_get_peak_usage</function> prior to 5.2.1.
601
-
</para>
602
439
603
440
&ini.shorthandbytes;
604
441
...
...
@@ -629,14 +466,14 @@
629
466
<row>
630
467
<entry><link linkend="ini.realpath-cache-size">realpath_cache_size</link></entry>
631
468
<entry>"4M"</entry>
632
-
<entry>PHP_INI_SYSTEM</entry>
633
-
<entry>Available since PHP 5.1.0. Prior to PHP 7.0.16 and 7.1.2, the default was <literal>"16K"</literal></entry>
469
+
<entry><constant>INI_SYSTEM</constant></entry>
470
+
<entry>Prior to PHP 7.0.16 and 7.1.2, the default was <literal>"16K"</literal></entry>
634
471
</row>
635
472
<row>
636
473
<entry><link linkend="ini.realpath-cache-ttl">realpath_cache_ttl</link></entry>
637
474
<entry>"120"</entry>
638
-
<entry>PHP_INI_SYSTEM</entry>
639
-
<entry>Available since PHP 5.1.0.</entry>
475
+
<entry><constant>INI_SYSTEM</constant></entry>
476
+
<entry></entry>
640
477
</row>
641
478
</tbody>
642
479
</tgroup>
...
...
@@ -654,7 +491,7 @@
654
491
<varlistentry xml:id="ini.realpath-cache-size">
655
492
<term>
656
493
<parameter>realpath_cache_size</parameter>
657
-
<type>integer</type>
494
+
<type>int</type>
658
495
</term>
659
496
<listitem>
660
497
<para>
...
...
@@ -677,7 +514,7 @@
677
514
<varlistentry xml:id="ini.realpath-cache-ttl">
678
515
<term>
679
516
<parameter>realpath_cache_ttl</parameter>
680
-
<type>integer</type>
517
+
<type>int</type>
681
518
</term>
682
519
<listitem>
683
520
<para>
...
...
@@ -709,92 +546,92 @@
709
546
<row>
710
547
<entry><link linkend="ini.arg-separator.output">arg_separator.output</link></entry>
711
548
<entry>"&amp;"</entry>
712
-
<entry>PHP_INI_ALL</entry>
549
+
<entry><constant>INI_ALL</constant></entry>
713
550
<entry></entry>
714
551
</row>
715
552
<row>
716
553
<entry><link linkend="ini.arg-separator.input">arg_separator.input</link></entry>
717
554
<entry>"&amp;"</entry>
718
-
<entry>PHP_INI_PERDIR</entry>
555
+
<entry><constant>INI_PERDIR</constant></entry>
719
556
<entry></entry>
720
557
</row>
721
558
<row>
722
559
<entry><link linkend="ini.variables-order">variables_order</link></entry>
723
560
<entry>"EGPCS"</entry>
724
-
<entry>PHP_INI_PERDIR</entry>
725
-
<entry>PHP_INI_ALL in PHP &lt;= 5.0.5.</entry>
561
+
<entry><constant>INI_PERDIR</constant></entry>
562
+
<entry></entry>
726
563
</row>
727
564
<row>
728
565
<entry><link linkend="ini.request-order">request_order</link></entry>
729
566
<entry>""</entry>
730
-
<entry>PHP_INI_PERDIR</entry>
731
-
<entry>Available since PHP 5.3.0</entry>
567
+
<entry><constant>INI_PERDIR</constant></entry>
568
+
<entry></entry>
732
569
</row>
733
570
<row>
734
571
<entry><link linkend="ini.auto-globals-jit">auto_globals_jit</link></entry>
735
572
<entry>"1"</entry>
736
-
<entry>PHP_INI_PERDIR</entry>
737
-
<entry>Available since PHP 5.0.0.</entry>
738
-
</row>
739
-
<row>
740
-
<entry><link linkend="ini.register-globals">register_globals</link></entry>
741
-
<entry>"0"</entry>
742
-
<entry>PHP_INI_PERDIR</entry>
743
-
<entry>Removed in PHP 5.4.0.</entry>
573
+
<entry><constant>INI_PERDIR</constant></entry>
574
+
<entry></entry>
744
575
</row>
745
576
<row>
746
577
<entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry>
747
578
<entry>"1"</entry>
748
-
<entry>PHP_INI_PERDIR</entry>
579
+
<entry><constant>INI_PERDIR</constant></entry>
749
580
<entry></entry>
750
581
</row>
751
582
<row>
752
-
<entry><link linkend="ini.register-long-arrays">register_long_arrays</link></entry>
753
-
<entry>"1"</entry>
754
-
<entry>PHP_INI_PERDIR</entry>
755
-
<entry>Deprecated in PHP 5.3.0. Removed in PHP 5.4.0.</entry>
756
-
</row>
757
-
<row>
758
583
<entry><link linkend="ini.enable-post-data-reading">enable_post_data_reading</link></entry>
759
584
<entry>"1"</entry>
760
-
<entry>PHP_INI_PERDIR</entry>
761
-
<entry>Available since PHP 5.4.0</entry>
585
+
<entry><constant>INI_PERDIR</constant></entry>
586
+
<entry></entry>
762
587
</row>
763
588
<row>
764
589
<entry><link linkend="ini.post-max-size">post_max_size</link></entry>
765
590
<entry>"8M"</entry>
766
-
<entry>PHP_INI_PERDIR</entry>
591
+
<entry><constant>INI_PERDIR</constant></entry>
767
592
<entry></entry>
768
593
</row>
769
594
<row>
770
595
<entry><link linkend="ini.auto-prepend-file">auto_prepend_file</link></entry>
771
596
<entry>NULL</entry>
772
-
<entry>PHP_INI_PERDIR</entry>
597
+
<entry><constant>INI_PERDIR</constant></entry>
773
598
<entry></entry>
774
599
</row>
775
600
<row>
776
601
<entry><link linkend="ini.auto-append-file">auto_append_file</link></entry>
777
602
<entry>NULL</entry>
778
-
<entry>PHP_INI_PERDIR</entry>
603
+
<entry><constant>INI_PERDIR</constant></entry>
779
604
<entry></entry>
780
605
</row>
781
606
<row>
782
607
<entry><link linkend="ini.default-mimetype">default_mimetype</link></entry>
783
608
<entry>"text/html"</entry>
784
-
<entry>PHP_INI_ALL</entry>
609
+
<entry><constant>INI_ALL</constant></entry>
785
610
<entry></entry>
786
611
</row>
787
612
<row>
788
613
<entry><link linkend="ini.default-charset">default_charset</link></entry>
789
614
<entry>"UTF-8"</entry>
790
-
<entry>PHP_INI_ALL</entry>
791
-
<entry>Defaults to "UTF-8" since PHP &gt;= 5.6.0; empty for PHP &lt; 5.6.0.</entry>
615
+
<entry><constant>INI_ALL</constant></entry>
616
+
<entry></entry>
792
617
</row>
793
618
<row>
794
-
<entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry>
795
-
<entry>"0"</entry>
796
-
<entry>PHP_INI_PERDIR</entry>
797
-
<entry>Removed in PHP 7.0.0.</entry>
619
+
<entry><link linkend="ini.input-encoding">input_encoding</link></entry>
620
+
<entry>""</entry>
621
+
<entry><constant>INI_ALL</constant></entry>
622
+
<entry></entry>
623
+
</row>
624
+
<row>
625
+
<entry><link linkend="ini.output-encoding">output_encoding</link></entry>
626
+
<entry>""</entry>
627
+
<entry><constant>INI_ALL</constant></entry>
628
+
<entry></entry>
629
+
</row>
630
+
<row>
631
+
<entry><link linkend="ini.internal-encoding">internal_encoding</link></entry>
632
+
<entry>""</entry>
633
+
<entry><constant>INI_ALL</constant></entry>
634
+
<entry></entry>
798
635
</row>
799
636
</tbody>
800
637
</tgroup>
...
...
@@ -852,21 +689,6 @@
852
689
<varname>$_COOKIE</varname>. Setting to "" means no
853
690
&link.superglobals; will be set.
854
691
</para>
855
-
<para>
856
-
If the deprecated
857
-
<link linkend="ini.register-globals">register_globals</link>
858
-
directive is on, then variables_order also
859
-
configures the order the <literal>ENV</literal>,
860
-
<literal>GET</literal>, <literal>POST</literal>,
861
-
<literal>COOKIE</literal> and <literal>SERVER</literal> variables
862
-
are populated in global scope. So for example if variables_order
863
-
is set to <literal>"EGPCS"</literal>, register_globals is enabled,
864
-
and both <varname>$_GET['action']</varname> and
865
-
<varname>$_POST['action']</varname> are set, then
866
-
<varname>$action</varname> will contain the value of
867
-
<varname>$_POST['action']</varname> as <literal>P</literal> comes
868
-
after <literal>G</literal> in our example directive value.
869
-
</para>
870
692
<warning>
871
693
<para>
872
694
In both the CGI and FastCGI SAPIs,
...
...
@@ -912,7 +734,7 @@
912
734
<varlistentry xml:id="ini.auto-globals-jit">
913
735
<term>
914
736
<parameter>auto_globals_jit</parameter>
915
-
<type>boolean</type>
737
+
<type>bool</type>
916
738
</term>
917
739
<listitem>
918
740
<para>
...
...
@@ -921,15 +743,6 @@
921
743
variables are not used within a script, having this directive on will
922
744
result in a performance gain.
923
745
</para>
924
-
<para>
925
-
The PHP directives
926
-
<link linkend="ini.register-globals">register_globals</link>,
927
-
<link linkend="ini.register-long-arrays">register_long_arrays</link>,
928
-
and <link linkend="ini.register-argc-argv">register_argc_argv</link>
929
-
must be disabled for this directive to have any affect. Since PHP
930
-
5.1.3 it is not necessary to have <link
931
-
linkend="ini.register-argc-argv">register_argc_argv</link> disabled.
932
-
</para>
933
746
<warning>
934
747
<para>
935
748
Usage of SERVER, REQUEST, and ENV variables is checked during the compile time
...
...
@@ -941,47 +754,10 @@
941
754
</listitem>
942
755
</varlistentry>
943
756
944
-
<varlistentry xml:id="ini.register-globals">
945
-
<term>
946
-
<parameter>register_globals</parameter>
947
-
<type>boolean</type>
948
-
</term>
949
-
<listitem>
950
-
<para>
951
-
Whether or not to register the EGPCS (Environment, GET,
952
-
POST, Cookie, Server) variables as global variables.
953
-
</para>
954
-
<para>
955
-
As of <link xlink:href="&url.php.release4.2.0;">PHP 4.2.0</link>,
956
-
this directive defaults to <emphasis>off</emphasis>.
957
-
</para>
958
-
<para>
959
-
Please read the security chapter on
960
-
<link linkend="security.globals">Using register_globals</link>
961
-
for related information.
962
-
</para>
963
-
<para>
964
-
Please note that <systemitem role="directive">register_globals</systemitem>
965
-
cannot be set at runtime (<function>ini_set</function>). Although, you can
966
-
use &htaccess; if your host allows it as described
967
-
above. An example &htaccess; entry:
968
-
<userinput>php_flag register_globals off</userinput>.
969
-
</para>
970
-
<note>
971
-
<para>
972
-
<systemitem role="directive">register_globals</systemitem> is affected
973
-
by the <link linkend="ini.variables-order">variables_order</link>
974
-
directive.
975
-
</para>
976
-
</note>
977
-
&warn.deprecated.feature-5-3-0.removed-5-4-0;
978
-
</listitem>
979
-
</varlistentry>
980
-
981
757
<varlistentry xml:id="ini.register-argc-argv">
982
758
<term>
983
759
<parameter>register_argc_argv</parameter>
984
-
<type>boolean</type>
760
+
<type>bool</type>
985
761
</term>
986
762
<listitem>
987
763
<simpara>
...
...
@@ -994,33 +770,10 @@
994
770
</listitem>
995
771
</varlistentry>
996
772
997
-
<varlistentry xml:id="ini.register-long-arrays">
998
-
<term>
999
-
<parameter>register_long_arrays</parameter>
1000
-
<type>boolean</type>
1001
-
</term>
1002
-
<listitem>
1003
-
<simpara>
1004
-
Tells PHP whether or not to register the deprecated long
1005
-
<varname>$HTTP_*_VARS</varname> type
1006
-
<link linkend="language.variables.predefined">predefined
1007
-
variables</link>. When On (default), long predefined PHP
1008
-
variables like <varname>$HTTP_GET_VARS</varname> will be defined.
1009
-
If you're not using them, it's recommended to turn them off,
1010
-
for performance reasons. Instead, use the superglobal arrays,
1011
-
like <varname>$_GET</varname>.
1012
-
</simpara>
1013
-
<simpara>
1014
-
This directive became available in PHP 5.0.0.
1015
-
</simpara>
1016
-
&warn.deprecated.feature-5-3-0.removed-5-4-0;
1017
-
</listitem>
1018
-
</varlistentry>
1019
-
1020
773
<varlistentry xml:id="ini.enable-post-data-reading">
1021
774
<term>
1022
775
<parameter>enable_post_data_reading</parameter>
1023
-
<type>boolean</type>
776
+
<type>bool</type>
1024
777
</term>
1025
778
<listitem>
1026
779
<simpara>
...
...
@@ -1037,7 +790,7 @@
1037
790
<varlistentry xml:id="ini.post-max-size">
1038
791
<term>
1039
792
<parameter>post_max_size</parameter>
1040
-
<type>integer</type>
793
+
<type>int</type>
1041
794
</term>
1042
795
<listitem>
1043
796
<simpara>
...
...
@@ -1168,7 +921,7 @@
1168
921
</term>
1169
922
<listitem>
1170
923
<para>
1171
-
In PHP 5.6 onwards, "UTF-8" is the default value and its value is used
924
+
"UTF-8" is the default value and its value is used
1172
925
as the default character encoding for
1173
926
<function>htmlentities</function>,
1174
927
<function>html_entity_decode</function> and
...
...
@@ -1206,7 +959,7 @@
1206
959
</term>
1207
960
<listitem>
1208
961
<para>
1209
-
Available from PHP 5.6.0. This setting is used for multibyte modules
962
+
This setting is used for multibyte modules
1210
963
such as mbstring and iconv. Default is empty.
1211
964
</para>
1212
965
</listitem>
...
...
@@ -1219,7 +972,7 @@
1219
972
</term>
1220
973
<listitem>
1221
974
<para>
1222
-
Available from PHP 5.6.0. This setting is used for multibyte modules
975
+
This setting is used for multibyte modules
1223
976
such as mbstring and iconv. Default is empty.
1224
977
</para>
1225
978
</listitem>
...
...
@@ -1232,50 +985,15 @@
1232
985
</term>
1233
986
<listitem>
1234
987
<para>
1235
-
Available from PHP 5.6.0. This setting is used for multibyte modules
988
+
This setting is used for multibyte modules
1236
989
such as mbstring and iconv. Default is empty. If empty,
1237
990
<link linkend="ini.default-charset">default_charset</link> is used.
1238
991
</para>
1239
992
</listitem>
1240
993
</varlistentry>
1241
994
1242
-
<varlistentry xml:id="ini.always-populate-raw-post-data">
1243
-
<term>
1244
-
<parameter>always_populate_raw_post_data</parameter>
1245
-
<type>mixed</type>
1246
-
</term>
1247
-
<listitem>
1248
-
&warn.deprecated.feature-5-6-0.removed-7-0-0;
1249
-
<para>
1250
-
If set to &true;, PHP will always populate the
1251
-
<varname>$HTTP_RAW_POST_DATA</varname> containing the raw POST data.
1252
-
Otherwise, the variable is populated only when the MIME type of the
1253
-
data is unrecognised.
1254
-
</para>
1255
-
<para>
1256
-
The preferred method for accessing raw POST data is
1257
-
<link linkend="wrappers.php">php://input</link>, and
1258
-
<varname>$HTTP_RAW_POST_DATA</varname> is deprecated in PHP 5.6.0
1259
-
onwards. Setting <parameter>always_populate_raw_post_data</parameter>
1260
-
to <literal>-1</literal> will opt into the new behaviour that will be
1261
-
implemented in a future version of PHP, in which
1262
-
<varname>$HTTP_RAW_POST_DATA</varname> is never defined.
1263
-
</para>
1264
-
<para>
1265
-
Regardless of the setting, <varname>$HTTP_RAW_POST_DATA</varname> is
1266
-
not available with <literal>enctype="multipart/form-data"</literal>.
1267
-
</para>
1268
-
</listitem>
1269
-
</varlistentry>
1270
-
1271
995
</variablelist>
1272
996
</para>
1273
-
<para>
1274
-
See also: <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>,
1275
-
<link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>,
1276
-
and
1277
-
magic_quotes_sybase.
1278
-
</para>
1279
997
</section>
1280
998
1281
999
<section xml:id="ini.sect.path-directory">
...
...
@@ -1296,43 +1014,43 @@
1296
1014
<row>
1297
1015
<entry><link linkend="ini.include-path">include_path</link></entry>
1298
1016
<entry>".;/path/to/php/pear"</entry>
1299
-
<entry>PHP_INI_ALL</entry>
1017
+
<entry><constant>INI_ALL</constant></entry>
1300
1018
<entry></entry>
1301
1019
</row>
1302
1020
<row>
1303
1021
<entry><link linkend="ini.open-basedir">open_basedir</link></entry>
1304
1022
<entry>NULL</entry>
1305
-
<entry>PHP_INI_ALL</entry>
1306
-
<entry>PHP_INI_SYSTEM in PHP &lt; 5.3.0</entry>
1023
+
<entry><constant>INI_ALL</constant></entry>
1024
+
<entry></entry>
1307
1025
</row>
1308
1026
<row>
1309
1027
<entry><link linkend="ini.doc-root">doc_root</link></entry>
1310
1028
<entry>NULL</entry>
1311
-
<entry>PHP_INI_SYSTEM</entry>
1029
+
<entry><constant>INI_SYSTEM</constant></entry>
1312
1030
<entry></entry>
1313
1031
</row>
1314
1032
<row>
1315
1033
<entry><link linkend="ini.user-dir">user_dir</link></entry>
1316
1034
<entry>NULL</entry>
1317
-
<entry>PHP_INI_SYSTEM</entry>
1035
+
<entry><constant>INI_SYSTEM</constant></entry>
1318
1036
<entry></entry>
1319
1037
</row>
1320
1038
<row>
1321
1039
<entry><link linkend="ini.user-ini.cache-ttl">user_ini.cache_ttl</link></entry>
1322
1040
<entry>"300"</entry>
1323
-
<entry>PHP_INI_SYSTEM</entry>
1324
-
<entry>Available since PHP 5.3.0.</entry>
1041
+
<entry><constant>INI_SYSTEM</constant></entry>
1042
+
<entry></entry>
1325
1043
</row>
1326
1044
<row>
1327
1045
<entry><link linkend="ini.user-ini.filename">user_ini.filename</link></entry>
1328
1046
<entry>".user.ini"</entry>
1329
-
<entry>PHP_INI_SYSTEM</entry>
1330
-
<entry>Available since PHP 5.3.0.</entry>
1047
+
<entry><constant>INI_SYSTEM</constant></entry>
1048
+
<entry></entry>
1331
1049
</row>
1332
1050
<row>
1333
1051
<entry><link linkend="ini.extension-dir">extension_dir</link></entry>
1334
1052
<entry>"/path/to/php"</entry>
1335
-
<entry>PHP_INI_SYSTEM</entry>
1053
+
<entry><constant>INI_SYSTEM</constant></entry>
1336
1054
<entry></entry>
1337
1055
</row>
1338
1056
<row>
...
...
@@ -1348,76 +1066,58 @@
1348
1066
<entry></entry>
1349
1067
</row>
1350
1068
<row>
1351
-
<entry><link linkend="ini.zend-extension-debug">zend_extension_debug</link></entry>
1352
-
<entry>NULL</entry>
1353
-
<entry>&php.ini; only</entry>
1354
-
<entry>Available before PHP 5.3.0.</entry>
1355
-
</row>
1356
-
<row>
1357
-
<entry><link linkend="ini.zend-extension-debug-ts">zend_extension_debug_ts</link></entry>
1358
-
<entry>NULL</entry>
1359
-
<entry>&php.ini; only</entry>
1360
-
<entry>Available before PHP 5.3.0.</entry>
1361
-
</row>
1362
-
<row>
1363
-
<entry><link linkend="ini.zend-extension-ts">zend_extension_ts</link></entry>
1364
-
<entry>NULL</entry>
1365
-
<entry>&php.ini; only</entry>
1366
-
<entry>Available before PHP 5.3.0.</entry>
1367
-
</row>
1368
-
<row>
1369
1069
<entry><link linkend="ini.cgi.check-shebang-line">cgi.check_shebang_line</link></entry>
1370
1070
<entry>"1"</entry>
1371
-
<entry>PHP_INI_SYSTEM</entry>
1372
-
<entry>Available since PHP 5.2.0.</entry>
1071
+
<entry><constant>INI_SYSTEM</constant></entry>
1072
+
<entry></entry>
1373
1073
</row>
1374
1074
<row>
1375
1075
<entry><link linkend="ini.cgi.discard-path">cgi.discard_path</link></entry>
1376
1076
<entry>"0"</entry>
1377
-
<entry>PHP_INI_SYSTEM</entry>
1378
-
<entry>Available since PHP 5.3.0.</entry>
1077
+
<entry><constant>INI_SYSTEM</constant></entry>
1078
+
<entry></entry>
1379
1079
</row>
1380
1080
<row>
1381
1081
<entry><link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link></entry>
1382
1082
<entry>"1"</entry>
1383
-
<entry>PHP_INI_SYSTEM</entry>
1384
-
<entry>PHP_INI_ALL prior to PHP 5.2.1.</entry>
1083
+
<entry><constant>INI_SYSTEM</constant></entry>
1084
+
<entry></entry>
1385
1085
</row>
1386
1086
<row>
1387
1087
<entry><link linkend="ini.cgi.force-redirect">cgi.force_redirect</link></entry>
1388
1088
<entry>"1"</entry>
1389
-
<entry>PHP_INI_SYSTEM</entry>
1390
-
<entry>PHP_INI_ALL prior to PHP 5.2.1.</entry>
1089
+
<entry><constant>INI_SYSTEM</constant></entry>
1090
+
<entry></entry>
1391
1091
</row>
1392
1092
<row>
1393
1093
<entry><link linkend="ini.cgi.nph">cgi.nph</link></entry>
1394
1094
<entry>"0"</entry>
1395
-
<entry>PHP_INI_SYSTEM</entry>
1396
-
<entry>Available since PHP 5.3.0.</entry>
1095
+
<entry><constant>INI_SYSTEM</constant></entry>
1096
+
<entry></entry>
1397
1097
</row>
1398
1098
<row>
1399
1099
<entry><link linkend="ini.cgi.redirect-status-env">cgi.redirect_status_env</link></entry>
1400
1100
<entry>NULL</entry>
1401
-
<entry>PHP_INI_SYSTEM</entry>
1402
-
<entry>PHP_INI_ALL prior to PHP 5.2.1.</entry>
1101
+
<entry><constant>INI_SYSTEM</constant></entry>
1102
+
<entry></entry>
1403
1103
</row>
1404
1104
<row>
1405
1105
<entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry>
1406
1106
<entry>"0"</entry>
1407
-
<entry>PHP_INI_ALL</entry>
1107
+
<entry><constant>INI_ALL</constant></entry>
1408
1108
<entry></entry>
1409
1109
</row>
1410
1110
<row>
1411
1111
<entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry>
1412
1112
<entry>"0"</entry>
1413
-
<entry>PHP_INI_SYSTEM</entry>
1414
-
<entry>PHP_INI_ALL prior to PHP 5.2.1.</entry>
1113
+
<entry><constant>INI_SYSTEM</constant></entry>
1114
+
<entry></entry>
1415
1115
</row>
1416
1116
<row>
1417
1117
<entry><link linkend="ini.fastcgi.logging">fastcgi.logging</link></entry>
1418
1118
<entry>"1"</entry>
1419
-
<entry>PHP_INI_SYSTEM</entry>
1420
-
<entry>PHP_INI_ALL prior to PHP 5.2.1.</entry>
1119
+
<entry><constant>INI_SYSTEM</constant></entry>
1120
+
<entry></entry>
1421
1121
</row>
1422
1122
</tbody>
1423
1123
</tgroup>
...
...
@@ -1512,9 +1212,7 @@ include_path = ".:${USER}/pear/php"
1512
1212
<listitem>
1513
1213
<para>
1514
1214
Limit the files that can be accessed by PHP to the specified
1515
-
directory-tree, including the file itself. This directive
1516
-
is <emphasis>NOT</emphasis> affected by whether Safe Mode is
1517
-
turned On or Off.
1215
+
directory-tree, including the file itself.
1518
1216
</para>
1519
1217
<para>
1520
1218
When a script tries to access the filesystem, for example using
...
...
@@ -1552,19 +1250,14 @@ include_path = ".:${USER}/pear/php"
1552
1250
</para>
1553
1251
<para>
1554
1252
The restriction specified with <option>open_basedir</option> is a
1555
-
directory name since PHP 5.2.16 and 5.3.4. Previous versions used it
1556
-
as a prefix. This means that "<literal>open_basedir
1557
-
= /dir/incl</literal>" also allowed access to "<literal>/dir/include</literal>" and
1558
-
"<literal>/dir/incls</literal>" if they exist. When you want to restrict access
1559
-
to only the specified directory, end with a slash. For example:
1560
-
<literal>open_basedir = /dir/incl/</literal>
1253
+
directory name, not a prefix.
1561
1254
</para>
1562
1255
<para>
1563
1256
The default is to allow all files to be opened.
1564
1257
</para>
1565
1258
<note>
1566
1259
<para>
1567
-
As of PHP 5.3.0 open_basedir can be tightened at run-time. This means
1260
+
open_basedir can be tightened at run-time. This means
1568
1261
that if open_basedir is set to <literal>/www/</literal> in &php.ini;
1569
1262
a script can tighten the configuration to
1570
1263
<literal>/www/tmp/</literal> at run-time with
...
...
@@ -1579,6 +1272,12 @@ include_path = ".:${USER}/pear/php"
1579
1272
to <literal>0</literal> and thus <emphasis>disable</emphasis> the realpath cache.
1580
1273
</para>
1581
1274
</note>
1275
+
<caution>
1276
+
<para>
1277
+
<literal>open_basedir</literal> is just an extra safety net, that is in no way
1278
+
comprehensive, and can therefore not be relied upon when security is needed.
1279
+
</para>
1280
+
</caution>
1582
1281
</listitem>
1583
1282
</varlistentry>
1584
1283
...
...
@@ -1603,7 +1302,7 @@ include_path = ".:${USER}/pear/php"
1603
1302
<varlistentry xml:id="ini.user-ini.cache-ttl">
1604
1303
<term>
1605
1304
<parameter>user_ini.cache_ttl</parameter>
1606
-
<type>integer</type>
1305
+
<type>int</type>
1607
1306
</term>
1608
1307
<listitem>
1609
1308
<para>
...
...
@@ -1644,7 +1343,7 @@ include_path = ".:${USER}/pear/php"
1644
1343
<listitem>
1645
1344
<para>
1646
1345
In what directory PHP should look for dynamically loadable
1647
-
extensions. See also: <link linkend="ini.enable-dl">enable_dl</link>,
1346
+
extensions. It is recommended to specify an absolute path. See also: <link linkend="ini.enable-dl">enable_dl</link>,
1648
1347
and <function>dl</function>.
1649
1348
</para>
1650
1349
</listitem>
...
...
@@ -1675,50 +1374,10 @@ include_path = ".:${USER}/pear/php"
1675
1374
</listitem>
1676
1375
</varlistentry>
1677
1376
1678
-
<varlistentry xml:id="ini.zend-extension-debug">
1679
-
<term>
1680
-
<parameter>zend_extension_debug</parameter>
1681
-
<type>string</type>
1682
-
</term>
1683
-
<listitem>
1684
-
<para>
1685
-
Variant of <link linkend="ini.zend-extension">zend_extension</link>
1686
-
for extensions compiled with debug info prior to PHP 5.3.0.
1687
-
</para>
1688
-
</listitem>
1689
-
</varlistentry>
1690
-
1691
-
<varlistentry xml:id="ini.zend-extension-debug-ts">
1692
-
<term>
1693
-
<parameter>zend_extension_debug_ts</parameter>
1694
-
<type>string</type>
1695
-
</term>
1696
-
<listitem>
1697
-
<para>
1698
-
Variant of <link linkend="ini.zend-extension">zend_extension</link>
1699
-
for extensions compiled with debug info and thread safety prior to PHP
1700
-
5.3.0.
1701
-
</para>
1702
-
</listitem>
1703
-
</varlistentry>
1704
-
1705
-
<varlistentry xml:id="ini.zend-extension-ts">
1706
-
<term>
1707
-
<parameter>zend_extension_ts</parameter>
1708
-
<type>string</type>
1709
-
</term>
1710
-
<listitem>
1711
-
<para>
1712
-
Variant of <link linkend="ini.zend-extension">zend_extension</link>
1713
-
for extensions compiled with thread safety prior to PHP 5.3.0.
1714
-
</para>
1715
-
</listitem>
1716
-
</varlistentry>
1717
-
1718
1377
<varlistentry xml:id="ini.cgi.check-shebang-line">
1719
1378
<term>
1720
1379
<parameter>cgi.check_shebang_line</parameter>
1721
-
<type>boolean</type>
1380
+
<type>bool</type>
1722
1381
</term>
1723
1382
<listitem>
1724
1383
<para>
...
...
@@ -1735,7 +1394,7 @@ include_path = ".:${USER}/pear/php"
1735
1394
<varlistentry xml:id="ini.cgi.discard-path">
1736
1395
<term>
1737
1396
<parameter>cgi.discard_path</parameter>
1738
-
<type>boolean</type>
1397
+
<type>bool</type>
1739
1398
</term>
1740
1399
<listitem>
1741
1400
<para>
...
...
@@ -1748,7 +1407,7 @@ include_path = ".:${USER}/pear/php"
1748
1407
<varlistentry xml:id="ini.cgi.fix-pathinfo">
1749
1408
<term>
1750
1409
<parameter>cgi.fix_pathinfo</parameter>
1751
-
<type>boolean</type>
1410
+
<type>bool</type>
1752
1411
</term>
1753
1412
<listitem>
1754
1413
<para>
...
...
@@ -1771,7 +1430,7 @@ include_path = ".:${USER}/pear/php"
1771
1430
<varlistentry xml:id="ini.cgi.force-redirect">
1772
1431
<term>
1773
1432
<parameter>cgi.force_redirect</parameter>
1774
-
<type>boolean</type>
1433
+
<type>bool</type>
1775
1434
</term>
1776
1435
<listitem>
1777
1436
<para>
...
...
@@ -1792,7 +1451,7 @@ include_path = ".:${USER}/pear/php"
1792
1451
<varlistentry xml:id="ini.cgi.nph">
1793
1452
<term>
1794
1453
<parameter>cgi.nph</parameter>
1795
-
<type>boolean</type>
1454
+
<type>bool</type>
1796
1455
</term>
1797
1456
<listitem>
1798
1457
<para>
...
...
@@ -1867,7 +1526,7 @@ include_path = ".:${USER}/pear/php"
1867
1526
<varlistentry xml:id="ini.fastcgi.logging">
1868
1527
<term>
1869
1528
<parameter>fastcgi.logging</parameter>
1870
-
<type>boolean</type>
1529
+
<type>bool</type>
1871
1530
</term>
1872
1531
<listitem>
1873
1532
<para>
...
...
@@ -1899,38 +1558,38 @@ include_path = ".:${USER}/pear/php"
1899
1558
<row>
1900
1559
<entry><link linkend="ini.file-uploads">file_uploads</link></entry>
1901
1560
<entry>"1"</entry>
1902
-
<entry>PHP_INI_SYSTEM</entry>
1561
+
<entry><constant>INI_SYSTEM</constant></entry>
1903
1562
<entry></entry>
1904
1563
</row>
1905
1564
<row>
1906
1565
<entry><link linkend="ini.upload-tmp-dir">upload_tmp_dir</link></entry>
1907
1566
<entry>NULL</entry>
1908
-
<entry>PHP_INI_SYSTEM</entry>
1567
+
<entry><constant>INI_SYSTEM</constant></entry>
1909
1568
<entry></entry>
1910
1569
</row>
1911
1570
<row>
1912
1571
<entry><link linkend="ini.max-input-nesting-level">max_input_nesting_level</link></entry>
1913
1572
<entry>64</entry>
1914
-
<entry>PHP_INI_PERDIR</entry>
1915
-
<entry>Available since PHP 5.3.9.</entry>
1573
+
<entry><constant>INI_PERDIR</constant></entry>
1574
+
<entry></entry>
1916
1575
</row>
1917
1576
<row>
1918
1577
<entry><link linkend="ini.max-input-vars">max_input_vars</link></entry>
1919
1578
<entry>1000</entry>
1920
-
<entry>PHP_INI_PERDIR</entry>
1921
-
<entry>Available since PHP 5.3.9.</entry>
1579
+
<entry><constant>INI_PERDIR</constant></entry>
1580
+
<entry></entry>
1922
1581
</row>
1923
1582
<row>
1924
1583
<entry><link linkend="ini.upload-max-filesize">upload_max_filesize</link></entry>
1925
1584
<entry>"2M"</entry>
1926
-
<entry>PHP_INI_PERDIR</entry>
1585
+
<entry><constant>INI_PERDIR</constant></entry>
1927
1586
<entry></entry>
1928
1587
</row>
1929
1588
<row>
1930
1589
<entry><link linkend="ini.max-file-uploads">max_file_uploads</link></entry>
1931
1590
<entry>20</entry>
1932
-
<entry>PHP_INI_SYSTEM</entry>
1933
-
<entry>Available since PHP 5.2.12.</entry>
1591
+
<entry><constant>INI_PERDIR</constant></entry>
1592
+
<entry></entry>
1934
1593
</row>
1935
1594
</tbody>
1936
1595
</tgroup>
...
...
@@ -1944,7 +1603,7 @@ include_path = ".:${USER}/pear/php"
1944
1603
<varlistentry xml:id="ini.file-uploads">
1945
1604
<term>
1946
1605
<parameter>file_uploads</parameter>
1947
-
<type>boolean</type>
1606
+
<type>bool</type>
1948
1607
</term>
1949
1608
<listitem>
1950
1609
<para>
...
...
@@ -1981,12 +1640,15 @@ include_path = ".:${USER}/pear/php"
1981
1640
<varlistentry xml:id="ini.upload-max-filesize">
1982
1641
<term>
1983
1642
<parameter>upload_max_filesize</parameter>
1984
-
<type>integer</type>
1643
+
<type>int</type>
1985
1644
</term>
1986
1645
<listitem>
1987
1646
<para>
1988
1647
The maximum size of an uploaded file.
1989
1648
</para>
1649
+
<para>
1650
+
<link linkend="ini.post-max-size">post_max_size</link> must be larger than this value.
1651
+
</para>
1990
1652
1991
1653
&ini.shorthandbytes;
1992
1654
...
...
@@ -1996,12 +1658,12 @@ include_path = ".:${USER}/pear/php"
1996
1658
<varlistentry xml:id="ini.max-file-uploads">
1997
1659
<term>
1998
1660
<parameter>max_file_uploads</parameter>
1999
-
<type>integer</type>
1661
+
<type>int</type>
2000
1662
</term>
2001
1663
<listitem>
2002
1664
<para>
2003
1665
The maximum number of files allowed to be uploaded simultaneously.
2004
-
Starting with PHP 5.3.4, upload fields left blank on submission do not
1666
+
Upload fields left blank on submission do not
2005
1667
count towards this limit.
2006
1668
</para>
2007
1669
</listitem>
...
...
@@ -2028,8 +1690,8 @@ include_path = ".:${USER}/pear/php"
2028
1690
<row>
2029
1691
<entry><link linkend="ini.sql.safe-mode">sql.safe_mode</link></entry>
2030
1692
<entry>"0"</entry>
2031
-
<entry>PHP_INI_SYSTEM</entry>
2032
-
<entry>Removed in PHP 7.2.0</entry>
1693
+
<entry><constant>INI_SYSTEM</constant></entry>
1694
+
<entry>Removed as of PHP 7.2.0</entry>
2033
1695
</row>
2034
1696
</tbody>
2035
1697
</tgroup>
...
...
@@ -2043,7 +1705,7 @@ include_path = ".:${USER}/pear/php"
2043
1705
<varlistentry xml:id="ini.sql.safe-mode">
2044
1706
<term>
2045
1707
<parameter>sql.safe_mode</parameter>
2046
-
<type>boolean</type>
1708
+
<type>bool</type>
2047
1709
</term>
2048
1710
<listitem>
2049
1711
<para>
...
...
@@ -2081,8 +1743,8 @@ include_path = ".:${USER}/pear/php"
2081
1743
<row>
2082
1744
<entry><link linkend="ini.windows-show-crt-warning">windows.show_crt_warning</link></entry>
2083
1745
<entry>"0"</entry>
2084
-
<entry>PHP_INI_ALL</entry>
2085
-
<entry>Available since PHP 5.4.0.</entry>
1746
+
<entry><constant>INI_ALL</constant></entry>
1747
+
<entry></entry>
2086
1748
</row>
2087
1749
</tbody>
2088
1750
</tgroup>
...
...
@@ -2096,12 +1758,11 @@ include_path = ".:${USER}/pear/php"
2096
1758
<varlistentry xml:id="ini.windows-show-crt-warning">
2097
1759
<term>
2098
1760
<parameter>windows.show_crt_warning</parameter>
2099
-
<type>boolean</type>
1761
+
<type>bool</type>
2100
1762
</term>
2101
1763
<listitem>
2102
1764
<para>
2103
-
This directive shows the Windows CRT warnings when enabled. These
2104
-
warnings were displayed by default until PHP 5.4.0.
1765
+
This directive shows the Windows CRT warnings when enabled.
2105
1766
</para>
2106
1767
</listitem>
2107
1768
</varlistentry>
2108
1769