From cc1e4dff7714b3b0e571a0bce82774ab0cf4da2d Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 9 Sep 2008 14:32:34 +0000 Subject: [PATCH] Returns false on parse errors as of PHP5.3 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@266035 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/parse-ini-file.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/parse-ini-file.xml b/reference/filesystem/functions/parse-ini-file.xml index 64985b6f36..37b67677f3 100644 --- a/reference/filesystem/functions/parse-ini-file.xml +++ b/reference/filesystem/functions/parse-ini-file.xml @@ -1,5 +1,5 @@ - + parse_ini_file @@ -53,7 +53,8 @@ &reftitle.returnvalues; - The settings are returned as an associative array. + The settings are returned as an associative array on success, + and &false; on failure. @@ -70,6 +71,13 @@ + + 5.2.7 + + On syntax error this function will return &false; rather then an empty + array + + 5.2.4