#22750 [Opn]: change that parse_ini_file returns false on error
| From: | fbeyer at clickhand dot de | Date: | Mon, 17 Mar 2003 17:48:00 +0000 |
| Subject: | #22750 [Opn]: change that parse_ini_file returns false on error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35760@lists.php.net to get a copy of this message | ||
ID: 22750
User updated by: fbeyer at clickhand dot de
-Summary: parse_ini_file
Reported By: fbeyer at clickhand dot de
Status: Open
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.3.2RC1
New Comment:
(changed the summary to be more detailed)
Previous Comments:
------------------------------------------------------------------------
[2003-03-17 11:46:00] fbeyer at clickhand dot de
I would like to have parse_ini_file() return false on failure.
Currently, if there is a syntax error inside, the function will return
an array containing the data parsed until the error position and
therefore there is no possibility for the application to ensure that
the file is read properly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22750&edit=1