#15975 [Opn->Bgs]: Parse error for lates version of browscap.ini

From: Date: Thu, 15 Aug 2002 01:20:14 +0000
Subject: #15975 [Opn->Bgs]: Parse error for lates version of browscap.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16864@lists.php.net to get a copy of this message
ID: 15975 Updated by: iliaa@php.net Reported By: martijn@hooimeijer-it.com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 2000 PHP Version: 4.1.1 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. PHP does not support ! | ( ) characters as potential values, to prevent this problem remove those characters from the values of the entries inside your browscap.ini file. Previous Comments: ------------------------------------------------------------------------ [2002-03-09 16:56:30] martijn@hooimeijer-it.com 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 this bug report at http://bugs.php.net/?id=15975&edit=1

« previous php.bugs (#16864) next »