#21546 [Opn]: parse_ini_file() sends warning if the file is malformed
| From: | nicos@php.net | Date: | Thu, 09 Jan 2003 14:59:25 +0000 |
| Subject: | #21546 [Opn]: parse_ini_file() sends warning if the file is malformed | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350790@lists.php.net to get a copy of this message | ||
ID: 21546
Updated by: nicos@php.net
-Summary: parse_ini_file() ignores error settings
Reported By: k.schroeder@php.net
Status: Open
-Bug Type: Filesystem function related
+Bug Type: Documentation problem
Operating System: Linux
PHP Version: 4.3.0
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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