philippe thomassigny - 2015-08-13 13:41:28 - In reply to message 1 from Chris Rigg-Milner
I know parse_ini_file, the purpose of this library is not exactly the finality of a parse_ini_file (getting an array), but to have an OBJECT of configuration that you can manipulate easily and explode it into different file parts (cf. merge method).
Well. Indeed I could have used parse_ini_file for the compiler, maybe in a next version, have really to evaluate if it is going to make more complex the compiler analysis or not.
Oh but wait (taken from the PHP manual)
phpversion = "5.0"
phpversion = "5.1"
phpversion = "5.2"
phpversion = "5.3"
is a little tedious way to write a config file, sincerely I do prefer a lot more
$config->phpversion as an array("5.0", "5.1", "5.2", "5.3")
More suitable for any object oriented program and simplicity of things.