cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml

From: Date: Mon, 02 Feb 2009 13:05:20 +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-3128@lists.php.net to get a copy of this message
sas Mon Feb 2 13:05:20 2009 UTC Modified files: /phpdoc/en/reference/filesystem/functions parse-ini-file.xml Log: - extend example with [] syntax, small typo fix patch by thorstenr, cleaned up http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/parse-ini-file.xml?r1=1.33&r2=1.34&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.33 phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.34 --- phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.33 Fri Jan 16 18:32:12 2009 +++ phpdoc/en/reference/filesystem/functions/parse-ini-file.xml Mon Feb 2 13:05:20 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> +<!-- $Revision: 1.34 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.parse-ini-file"> <refnamediv> <refname>parse_ini_file</refname> @@ -141,6 +141,12 @@ [second_section] path = "/usr/local/bin" URL = "http://www.example.com/~username" + +[third_section] +phpversion[] = "5.0" +phpversion[] = "5.1" +phpversion[] = "5.2" +phpversion[] = "5.3" ]]> </programlisting> </example> @@ -179,6 +185,14 @@ [animal] => Dodo bird [path] => /usr/local/bin [URL] => http://www.example.com/~username + [phpversion] => Array + ( + [0] => 5.0 + [1] => 5.1 + [2] => 5.2 + [3] => 5.3 + ) + ) Array ( @@ -186,7 +200,7 @@ ( [one] => 1 [five] => 5 - [animal] = Dodo bird + [animal] => Dodo bird ) [second_section] => Array @@ -195,6 +209,18 @@ [URL] => http://www.example.com/~username ) + [third_section] => Array + ( + [phpversion] => Array + ( + [0] => 5.0 + [1] => 5.1 + [2] => 5.2 + [3] => 5.3 + ) + + ) + ) ]]> </screen>

« previous php.doc.cvs (#3128) next »