cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml
| From: | Hannes Magnusson | Date: | Tue, 09 Sep 2008 14:32:34 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2153@lists.php.net to get a copy of this message | ||
bjori Tue Sep 9 14:32:34 2008 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions parse-ini-file.xml
Log:
Returns false on parse errors as of PHP5.3
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/parse-ini-file.xml?r1=1.29&r2=1.30&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/parse-ini-file.xml
diff -u phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.29
phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.30
--- phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.29 Sat Sep 15 02:44:00 2007
+++ phpdoc/en/reference/filesystem/functions/parse-ini-file.xml Tue Sep 9 14:32:34 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.29 $ -->
+<!-- $Revision: 1.30 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.parse-ini-file">
<refnamediv>
<refname>parse_ini_file</refname>
@@ -53,7 +53,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The settings are returned as an associative <type>array</type>.
+ The settings are returned as an associative <type>array</type> on success,
+ and &false; on failure.
</para>
</refsect1>
@@ -71,6 +72,13 @@
</thead>
<tbody>
<row>
+ <entry>5.2.7</entry>
+ <entry>
+ On syntax error this function will return &false; rather then an empty
+ array
+ </entry>
+ </row>
+ <row>
<entry>5.2.4</entry>
<entry>
Keys and section names consisting of numbers are now evaluated as PHP