Re: Conf: argue !
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Organization | Solutions Only |
| Message-ID | <4220EBEF.29849.27FF719@localhost> |
On 26 Feb 2005 at 19:39, Manuel Holtgrewe wrote: > Hi > > <snip> > > > Ergo. If we walk from xml -> confPath then non-unique paths will pop up. > > Ergo. an unique confPath cannot be guaranteed. > > I think you have a misconception of the configuration parsing. No, I don't. > And PHP would automatically translate that to > > 'plugins_dir' => array( > 0 => 'foo', > 1 => 'bar', > ) > > So you have unique paths. No, you don't have unique paths this way. It's true that PHP adds a numeric key to it. But that *is not* the issue. We are talking about the concept 'path' and we are figuring out if numeric keys are allowed or not. Implementation is easy than. But we must know now. If we don't allow them, Conf: has to interface it. If we do allow them, Conf: has to make sure that array_manipulations doesn't mutilate the arrays. That are *two* different issues. One thing is clear by now, nobody wants an array in the value. This simply means that the proposed API is not complete. Please vote, and live with the decision. wim niemans _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev