Dostupnost ve verzích: PHP 5.3.0
Parse a configuration string
| Parametr | Datový typ | Výchozí hodnota | Poznámka | 
|---|---|---|---|
| $ini | string | není | The contents of the ini file being parsed. | 
| $process_sections | bool | null, | By setting the process_sections parameter to true, you get a multidimensional array, with the section names and settings included. The default for process_sections is false | 
| $scanner_mode | int | null | Can either be INI_SCANNER_NORMAL (default) or INI_SCANNER_RAW. If INI_SCANNER_RAW is supplied, then option values will not be parsed. | 
array
|bool The settings are returned as an associative array on success,
and false on failure.
Oficiální dokumentace funkce parse-ini-string
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články a novinky nejen ze světa PHP a programování. Nenechte si ujít jediný článek.
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs