Req #22750 [Opn->Csd]: change that parse_ini_file returns false on error
| From: | jani@php.net | Date: | Sat, 01 Jan 2011 00:28:59 +0000 |
| Subject: | Req #22750 [Opn->Csd]: change that parse_ini_file returns false on error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157458@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=22750&edit=1
ID: 22750
Updated by: jani@php.net
Reported by: fbeyer at clickhand dot de
Summary: change that parse_ini_file returns false on error
-Status: Open
+Status: Closed
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: any
PHP Version: 4.3.2RC1
-Assigned To:
+Assigned To: jani
Block user comment: N
Private report: N
New Comment:
Fixed in 5.3 at least.
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/bug.php?id=22750&edit=1