Gen. partnerAlgotech

PHP funkce parse_ini_file()

Parse a configuration file

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Parse a configuration file

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$filename string není The filename 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.

Další zdroje

Oficiální dokumentace funkce parse-ini-file

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.