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
This commit is contained in:
Peter Cowburn 2014-03-29 21:52:41 +00:00
parent 55907a3eea
commit 642b5701b6
2 changed files with 4 additions and 2 deletions

View file

@ -286,7 +286,8 @@ echo '(loaded) magic_quotes_gpc = ' . yesno(get_cfg_var('magic_quotes_gpc')) . P
<simpara>
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 <literal>?{}|&amp;~![()^"</literal> must not be used anywhere in
the key and have a special meaning in the value.
</simpara>

View file

@ -74,7 +74,8 @@
<simpara>
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 <literal>?{}|&amp;~![()^"</literal> must not be used anywhere in
the key and have a special meaning in the value.
</simpara>