Just tried to make my own config handler in PHP, utilizing the native PHP parse_ini_file
-function. I did just notice that all of my config entries where the value is a boolean - true/false are messed up, along with most other config entries being typecasted to strings.
Apparently, this is a well-known issue already: http://www.php.net/manual/en/function.parse-ini-file.php#100851
So what is the appropriate workaround?
It's really neat to utilize non-PHP-configs, which makes it dead easy for non-developers to change a value when necessary, so I would love to keep the *.ini
-based configs.