[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml
From: "Hannes Magnusson" <bjori () php ! net>
Date: 2008-09-09 14:32:34
Message-ID: cvsbjori1220970754 () cvsserver
[Download RAW message or body]
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
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic