svn: /phpdoc/en/trunk/reference/filesystem/functions/ parse-ini-file.xml
| From: | Philip Olson | Date: | Thu, 03 Jul 2014 23:10:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ parse-ini-file.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12567@lists.php.net to get a copy of this message | ||
philip Thu, 03 Jul 2014 23:10:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334105
Log:
Mention that entries without an equal sign are ignored. Recent feature request PHP Bug #67331
requests this functionality.
Bug: https://bugs.php.net/67331 (Open) Have parse_ini_file
add empty entries
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/parse-ini-file.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/parse-ini-file.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/parse-ini-file.xml 2014-07-03 23:07:46 UTC (rev
334104)
+++ phpdoc/en/trunk/reference/filesystem/functions/parse-ini-file.xml 2014-07-03 23:10:43 UTC (rev
334105)
@@ -292,6 +292,15 @@
the key and have a special meaning in the value.
</simpara>
</note>
+ <note>
+ <para>
+ Entries without an equal sign are ignored. For example, "foo"
+ is ignored whereas "bar =" is parsed and added with an empty
+ value. For example, MySQL has a "no-auto-rehash" setting
+ in <filename>my.cnf</filename> that does not take a value, so
+ it is ignored.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">