Bug #15006: parse_ini_file barfs when seeing ~ (hex 7E)
| From: | jfh at adr dot dk | Date: | Sat, 12 Jan 2002 17:37:12 +0000 |
| Subject: | Bug #15006: parse_ini_file barfs when seeing ~ (hex 7E) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76788@lists.php.net to get a copy of this message | ||
From: jfh@adr.dk
Operating system: Linux 2.4.12
PHP version: 4.1.0
PHP Bug Type: PHP options/info functions
Bug description: parse_ini_file barfs when seeing ~ (hex 7E)
The error can be reproduced by creating the following file:
[test]
foo = bar~
and then running it through parse_ini_file.
This produces the following error:
Warning: Error parsing temp.ini on line 2 in Unknown on line 0
Using Debian Testing with PHP package version 4.0.100-1.
--
Edit bug report at: http://bugs.php.net/?id=15006&edit=1