views:

158

answers:

1

The documentation on parse_ini_file states that you can't use these chars {}|&~![()^" in the value. Is there some way to escape these chars? I need to use them. Normal escaping with \ doesn't seem to work.

+7  A: 

The manual says those characters can not be used in the key -- the opposite of the value. To use them in values, double-quote the string.

Coronatus
+1, suggest making `manual` a link.
Tim Post
Martin