Наша группа в телеграмм для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov

parse_ini_string

(PHP 5 >= 5.3.0)

parse_ini_string — Parse a configuration string

Описание

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

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

Параметры

ini process_sectionsTRUE, you get a multidimensional array, with the section names and settings included. The default for process_sectionsFALSE

scanner_modeINI_SCANNER_NORMAL (default) or INI_SCANNER_RAW. If INI_SCANNER_RAW is supplied, then option values will not be parsed.

Return Values

The settings are returned as an associative array on success, and FALSE on failure.

Note: There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. Values null, no and false results in "", yes and true results in "1". Characters

Смотрите также: parse_ini_file(), pathinfo.

Описание на ru2.php.net
Описание на php.ru

.

Популярное:


Содержание: