On 24.03.2010, at 0:58, Antony Dovgal wrote:

> On 24.03.2010 00:05, Zeev Suraski wrote:
>>> How do you propose to describe the same set of options using php.ini syntax?
>>> Yes, simple things like "value=Yes/No" or "value=DIR" fit just fine 
>>> into php.ini.
>>> But how would decribe a set of pools each with its own set of options?
>>> (taking into account that some of these options may override global options)
>> 
>> option...
>> anotheroption...
>> 
>> [pool1]
>> option...
>> anotheroption...
>> 
>> [pool2]
>> option...
>> anotheroption...
> 
> Okay, here is XML based config quickly converted to php.ini-style syntax:
> <skipped…>
> I won't discuss how it looks to me, but there is only one problem: it doesn't 
> work. 
> That's because php.ini doesn't support nested sections and without them it 
> turns into a real mess.

looks almost like YAML ;)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to