new browscap INI parser

php.internals

J Smith

22 years ago
I know this isn't exactly as exciting as goto, but I finally got a bit of time away from work and whatnot to finally fix the oddities with the browscap/ini parser. A tarball with the patch and the new files for HEAD is available at http://bugs.tutorbuddy.com/download.php/browscap.patch.tar.gz It's basically just a rip of some of the code from Zend/zend_ini_(parser scanner) with a few modifications to prevent operator handling and that sort of thing. It still uses the Zend ini code for pretty everything except the actual parser and scanner. I know this probably won't get into the 5.0.x branch, but I'd like to get it into 5.1.0 if possible. I've only had a chance to test it out on linux, so I have no idea if it builds on Windows or anything else for that matter (my Win2k dev box was recently reappropriated at work so I can't test it at the moment) so if somebody could take a look at that I'd appreciate it. If everything checks out, I'd like to commit it to HEAD sometime in the near future... thx J