Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17194 программиста и 1833 робота. Сейчас ищут 1737 программистов ...
Available Containers
Вернуться к: Config
Table of Contents
Supported configuration file types
The Config package supports reading and writing to different "containers" - types of configuration files. Ini-style configuration files are very common.
Container | Comments | Sections | Nested sections | Multiline strings | Boolean | Int/float | Null |
---|---|---|---|---|---|---|---|
Apache | yes | yes | yes | - | (yes)* | (yes)* | (yes)* |
GenericConf | yes | - | - | yes | (yes)* | (yes)* | (yes)* |
IniCommented | yes | yes | - | - | (yes)* | (yes)* | (yes)* |
IniFile | - | yes | - | yes | (yes)* | (yes)* | (yes)* |
PHPArray | - | yes | yes | yes | yes | yes | yes |
PHPConstants | yes | - | - | - | (yes)* | (yes)* | (yes)* |
XML | no | yes | yes | yes | (yes)* | (yes)* | (yes)* |
(yes)* indicates that saving and loading those types does work, but the type of the variable is "string" after reading the config file.
Вернуться к: Config