Ilia Alshanetsky wrote:

> While anything would be better then the current solution I wonder is
> perhaps going the INI way is not the best idea due to the potential
> confusion. The fellow who supplies the ini files with browser information
> also has a csv file with the very same data that is much easier to parse.
> 
> Ilia
> 

I would think that sticking with the current ini files would probably lead
to less confusion. Just from the perspective that there may be people using
customized ini files or even just to avoid the initial "why is browscap
broken, my ini file is in the right place" bug reports and such. I wouldn't
expect any sort of register_globals-level "wtf", but it would probably be
enough to be annoying...

This modified parser isn't all that complicated anyways. The grammar and
lexer are both pretty small now, with the extraneous parsing normally done
on PHP's own ini file stripped out.

J

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

Reply via email to