Hello Jani,

Friday, February 15, 2008, 10:30:15 AM, you wrote:

>> b) I think usage of square brackets is not a good idea, because they are
>> commonly used to divide ini files into sections. Why not to use C 
>> syntax? (#if...)

> I'd prefer that syntax too, it would be much clearer than mixing the
> sections with this. It's also backwards compatible, lines prefixed with
> # are simply ignored.

I am fine with that if someone finds a good way to parse this.

>> c) We can use just "value" insted of ${value} in conditions.

> Yup. ${foobar} is actually not any "variable" per se, but just a
> reference to existing ini entry in the file. And I don't think that
> needs to change.

To make this clear, I did not any syntax beside the conditionals. I just
used what is there. If the example I gave was misleading, then sorry for
that.

>> e) We don't need to define special names, we can use internal PHP constants.

> Yup, I mentioned this a couple of times already. :)

Right, thus I dropped all that was not needed.

Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to