Bug #13279: parse_ini_file causes PHP to exit if ini file syntax is malformed
| From: | zak@php.net | Date: | Thu, 13 Sep 2001 07:42:51 +0000 |
| Subject: | Bug #13279: parse_ini_file causes PHP to exit if ini file syntax is malformed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65858@lists.php.net to get a copy of this message | ||
From: zak@php.net
Operating system: Win2k/CGI
PHP version: 4.0.6
PHP Bug Type: PHP options/info functions
Bug description: parse_ini_file causes PHP to exit if ini file syntax is malformed
parse_ini_file() causes PHP to exit if ini file syntax is malformed. This
can be reproduced by parsing a ini file with the following content:
; Start broken ini file
a
; End broken ini file
This is not quite a bug - more an expression of the belief that functions
should exit gracefully when possible. :)
--
Edit bug report at: http://bugs.php.net/?id=13279&edit=1