Bug #15975: Parse error for lates version of browscap.ini
| From: | martijn at hooimeijer-it dot com | Date: | Sat, 09 Mar 2002 21:56:30 +0000 |
| Subject: | Bug #15975: Parse error for lates version of browscap.ini | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2129@lists.php.net to get a copy of this message | ||
From: martijn@hooimeijer-it.com
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