parse_ini_string

parse_ini_string

(PHP 5 >= 5.3.0, PHP 7)

parse_ini_stringParse a configuration string

Description

array parse_ini_string ( string $ini [, bool $process_sections = false [, int $scanner_mode = INI_SCANNER_NORMAL ]] )

parse_ini_string() returns the settings in string ini in an associative array.

The structure of the ini string is the same as the php.ini's.