@@ -215,8 +215,8 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
215215 </simpara >
216216 <simpara >
217217 Only INI settings with the
218- modes <constant >PHP_INI_PERDIR </constant > and
219- <constant >PHP_INI_USER </constant > will be recognized in .user.ini-style INI
218+ modes <constant >INI_PERDIR </constant > and
219+ <constant >INI_USER </constant > will be recognized in .user.ini-style INI
220220 files.
221221 </simpara >
222222
@@ -253,16 +253,16 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
253253 <para >
254254 For example, the
255255 <link linkend =" ini.output-buffering" >output_buffering</link > setting
256- is <literal >PHP_INI_PERDIR</ literal > therefore it may not be set using
256+ is <constant >INI_PERDIR</ constant > therefore it may not be set using
257257 <function >ini_set</function >. However, the
258258 <link linkend =" ini.display-errors" >display_errors</link > directive is
259- <literal >PHP_INI_ALL</ literal > therefore it may be set anywhere,
259+ <constant >INI_ALL</ constant > therefore it may be set anywhere,
260260 including with <function >ini_set</function >.
261261 </para >
262262
263263 <para >
264264 <table >
265- <title >Definition of PHP_INI_ * modes</title >
265+ <title >Definition of INI_ * modes</title >
266266 <tgroup cols =" 2" >
267267 <thead >
268268 <row >
@@ -272,25 +272,25 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
272272 </thead >
273273 <tbody >
274274 <row >
275- <entry ><literal >PHP_INI_USER</ literal ></entry >
275+ <entry ><constant >INI_USER</ constant ></entry >
276276 <entry >
277277 Entry can be set in user scripts (like with <function >ini_set</function >)
278278 or in the <link linkend =" configuration.changes.windows" >Windows registry</link >.
279279 Entry can be set in &user-ini;
280280 </entry >
281281 </row >
282282 <row >
283- <entry ><literal >PHP_INI_PERDIR</ literal ></entry >
283+ <entry ><constant >INI_PERDIR</ constant ></entry >
284284 <entry >
285285 Entry can be set in &php.ini; , &htaccess; , &httpd.conf; or &user-ini;
286286 </entry >
287287 </row >
288288 <row >
289- <entry ><literal >PHP_INI_SYSTEM</ literal ></entry >
289+ <entry ><constant >INI_SYSTEM</ constant ></entry >
290290 <entry >Entry can be set in &php.ini; or &httpd.conf; </entry >
291291 </row >
292292 <row >
293- <entry ><literal >PHP_INI_ALL</ literal ></entry >
293+ <entry ><constant >INI_ALL</ constant ></entry >
294294 <entry >Entry can be set anywhere</entry >
295295 </row >
296296 </tbody >
@@ -315,8 +315,8 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
315315 There are several Apache directives that allow you
316316 to change the PHP configuration from within the Apache configuration
317317 files. For a listing of which directives are
318- <constant >PHP_INI_ALL </constant >, <constant >PHP_INI_PERDIR </constant >,
319- or <constant >PHP_INI_SYSTEM </constant >, have a look at the
318+ <constant >INI_ALL </constant >, <constant >INI_PERDIR </constant >,
319+ or <constant >INI_SYSTEM </constant >, have a look at the
320320 <link linkend =" ini.list" >List of php.ini directives</link > appendix.
321321 </para >
322322
@@ -331,7 +331,7 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
331331 <listitem >
332332 <para >
333333 Sets the value of the specified directive.
334- Can be used only with <constant >PHP_INI_ALL </constant > and <constant >PHP_INI_PERDIR </constant > type directives.
334+ Can be used only with <constant >INI_ALL </constant > and <constant >INI_PERDIR </constant > type directives.
335335 To clear a previously set value use <literal >none</literal > as the value.
336336 </para >
337337 <note >
@@ -351,8 +351,8 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
351351 <listitem >
352352 <para >
353353 Used to set a boolean configuration directive.
354- Can be used only with <constant >PHP_INI_ALL </constant > and
355- <constant >PHP_INI_PERDIR </constant > type directives.
354+ Can be used only with <constant >INI_ALL </constant > and
355+ <constant >INI_PERDIR </constant > type directives.
356356 </para >
357357 </listitem >
358358 </varlistentry >
@@ -435,8 +435,8 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
435435 should have the name of the PHP configuration directive and the
436436 string value. PHP constants in the values are not parsed.
437437 However, only configuration values changeable in
438- <constant >PHP_INI_USER </constant > can be set
439- this way, <constant >PHP_INI_PERDIR </constant > values can not,
438+ <constant >INI_USER </constant > can be set
439+ this way, <constant >INI_PERDIR </constant > values can not,
440440 because these configuration values are re-read for each request.
441441 </simpara >
442442 </sect2 >
0 commit comments