From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.1.1
PHP Bug Type:     PHP options/info functions
Bug description:  Parse error for lates version of browscap.ini

While reading the lates version of browscap.ini (version february 2002) the
parser stumbles over brackets.

E.g. an entry like:

platform=Windows XP (Q312461)

will trigger the error: 

PHP: Error parsing e:\PHP\browscap.ini on line 1397

When removing the brackets, e.g.

platform=Windows XP Q312461

the parser does not stumble. Brackets appear on about 10-20 lines in the
browscap.ini. It is a drag to remove all the brackets for each and every
update of the file. Fix seems to be relatively quick, with a great
benefit.

This bug may have a similar cause as bug #10060.
-- 
Edit bug report at http://bugs.php.net/?id=15975&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15975&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15975&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15975&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15975&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15975&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15975&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15975&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15975&r=submittedtwice

Reply via email to