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