February 2013
Intermediate to advanced
538 pages
20h 55m
English
parse_ini_file
array parse_ini_file(stringfilename[, boolprocess_sections[, intscanner_mode]])
Loads filename—which must be a file
in the standard php.ini
format—and returns the values contained in it as an associative array,
or false if the file could not be
parsed. If process_sections is set and is
true, a multidimensional array with
values for the sections in the file is returned. The
scanner_mode option is either INI_SCANNER_NORMAL, the default, or INI_SCANNER_RAW,
indicating that the function should not parse option
values.
Read now
Unlock full access