From fc91ce2880bf2f9b3be0d3d1b725555d7fb28b5f Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Wed, 5 Jun 2002 07:15:48 +0000 Subject: [PATCH] Make the quoting issue a bit more clear, add an example for it. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84679 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/parse-ini-file.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reference/filesystem/functions/parse-ini-file.xml b/reference/filesystem/functions/parse-ini-file.xml index 1c53354a3c..a00269517c 100644 --- a/reference/filesystem/functions/parse-ini-file.xml +++ b/reference/filesystem/functions/parse-ini-file.xml @@ -1,5 +1,5 @@ - + @@ -32,8 +32,8 @@ - If the value contains any non-alphanumeric characters it needs to be - enclosed in double-quotes ("). + If a value in the ini file contains any non-alphanumeric + characters it needs to be enclosed in double-quotes ("). @@ -66,6 +66,7 @@ five = 5 [second_section] path = /usr/local/bin +URL = "http://www.example.com/~username" ]]> @@ -100,6 +101,7 @@ Array [one] => 1 [five] => 5 [path] => /usr/local/bin + [URL] => http://www.example.com/~username ) Array ( @@ -112,6 +114,7 @@ Array [second_section] => Array ( [path] => /usr/local/bin + [URL] => http://www.example.com/~username ) )