Bug #15006 Updated: parse_ini_file barfs when seeing ~ (hex 7E)

From: Date: Tue, 05 Feb 2002 18:20:21 +0000
Subject: Bug #15006 Updated: parse_ini_file barfs when seeing ~ (hex 7E)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79261@lists.php.net to get a copy of this message
ID: 15006 Updated by: me@watson1999-69.freeserve.co.uk -Reported By: jfh@adr.dk +Reported By: me@watson1999-69.freeserve.co.uk Status: Open Bug Type: PHP options/info functions Operating System: Linux 2.4.12 PHP Version: 4.1.0 New Comment: parse_ini_file also breaks when seeing ", even if this is escaped (same error message). This also happens on PHP/4.11, Win98SE. Previous Comments: ------------------------------------------------------------------------ [2002-01-12 12:37:12] jfh@adr.dk 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 this bug report at http://bugs.php.net/?id=15006&edit=1

« previous php.dev (#79261) next »