#21546 [Opn->Asn]: parse_ini_file() sends warning if the file is malformed

From: Date: Thu, 09 Jan 2003 21:38:25 +0000
Subject: #21546 [Opn->Asn]: parse_ini_file() sends warning if the file is malformed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29612@lists.php.net to get a copy of this message
ID: 21546 Updated by: derick@php.net Reported By: k.schroeder@php.net -Status: Open +Status: Assigned Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.0 Assigned To: derick New Comment: needs some thing how to do it cleanly, will sleep over it :-) Previous Comments: ------------------------------------------------------------------------ [2003-01-09 15:26:15] derick@php.net bullshit nicos, this is a bug. It does not terminate at all, you modified the docs in a wrong way. It's still a bug, the warning should be silenced. reopening ------------------------------------------------------------------------ [2003-01-09 09:24:45] nicos@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-01-09 08:59:24] nicos@php.net This is an excepted behaviour. Changing this to a documentation problem (even if it says already that PHP will quit if the file is malformed). ------------------------------------------------------------------------ [2003-01-09 06:47:59] k.schroeder@php.net parse_ini_file() outputs "Warning: Error parsing /file2parse.ini ..." if there is more than one = in a config line. PHP ignores error_reporting(0) and @parse_ini_file(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21546&edit=1

« previous php.bugs (#29612) next »