reference/filesystem/functions/parse-ini-file.xml
a5346daf2bb2fab250fa03f0f6639a408d0b2240
...
...
@@ -230,7 +230,7 @@ echo '(loaded) magic_quotes_gpc = ' . yesno(get_cfg_var('magic_quotes_gpc')) . P
230
230
<title>Value Interpolation</title>
231
231
<para>
232
232
In addition to evaluating constants, certain characters have special meaning in an ini value.
233
-
Additionally, environment variables and previously defined values may be read using
233
+
Additionally, environment variables and previously defined configuration options (see <function>get_cfg_var</function>) may be read using
234
234
<code>${}</code> syntax.
235
235
</para>
236
236
<programlisting>
...
...
@@ -250,8 +250,11 @@ negative_two = ~1
250
250
; () is used for grouping
251
251
seven = (8|7)&(6|5)
252
252

253
+
; Interpolate the PATH environment variable
253
254
path = ${PATH}
254
-
also_five = ${five}
255
+

256
+
; Interpolate the configuration option 'memory_limit'
257
+
configured_memory_limit = ${memory_limit}
255
258

256
259
]]>
257
260
</programlisting>
258
261