Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 23422 программиста и 1603 робота. Сейчас ищут 1798 программистов ...

Available Containers

Вернуться к: Config

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.

Feature comparison
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

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware