Name
parse_ini_file
Synopsis
array parse_ini_file(stringfilename
[, boolprocess_sections
])
Loads filename
, a file in the standard PHP
.ini format, and returns the values in it as an
associative array. If process_sections
is
set and is true
, a multidimensional array with
values for the sections in the file is returned.
This function does not bring the values in
filename
into PHP—it is only meant
to allow you to create configuration files for your applications in
the same format as PHP’s
php.ini file.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.