From 642b5701b6397756100b5d5520c1c58dc4238f0d Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Sat, 29 Mar 2014 21:52:41 +0000 Subject: [PATCH] Mention "off" and "on" for parse_ini_file/string() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333161 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/parse-ini-file.xml | 3 ++- reference/filesystem/functions/parse-ini-string.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/parse-ini-file.xml b/reference/filesystem/functions/parse-ini-file.xml index c469f61809..4b7cd418d7 100644 --- a/reference/filesystem/functions/parse-ini-file.xml +++ b/reference/filesystem/functions/parse-ini-file.xml @@ -286,7 +286,8 @@ echo '(loaded) magic_quotes_gpc = ' . yesno(get_cfg_var('magic_quotes_gpc')) . P There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, no and false results in "", yes and true results in "1". + Values null, off, no and false result in "". + Values on, yes and true result in "1". Characters ?{}|&~![()^" must not be used anywhere in the key and have a special meaning in the value. diff --git a/reference/filesystem/functions/parse-ini-string.xml b/reference/filesystem/functions/parse-ini-string.xml index d85a90a55c..c6dffa025a 100644 --- a/reference/filesystem/functions/parse-ini-string.xml +++ b/reference/filesystem/functions/parse-ini-string.xml @@ -74,7 +74,8 @@ There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, no and false results in "", yes and true results in "1". + Values null, off, no and false result in "". + Values on, yes and true result in "1". Characters ?{}|&~![()^" must not be used anywhere in the key and have a special meaning in the value.