ID:               15006
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         PHP options/info functions
+Bug Type:         Documentation problem
 Operating System: Linux 2.4.12
 PHP Version:      4.1.0
 New Comment:

If you have any "funny characters" on the right hand side of = you need
to put them under double quotes "".

Marking this as a documentation problem.


Previous Comments:
------------------------------------------------------------------------

[2002-06-04 16:51:21] [EMAIL PROTECTED]

And also on ! (exclamation mark)

------------------------------------------------------------------------

[2002-02-05 13:20:20] [EMAIL PROTECTED]

parse_ini_file also breaks when seeing ", even if this is escaped (same
error message). This also happens on PHP/4.11, Win98SE.

------------------------------------------------------------------------

[2002-01-12 12:37:12] [EMAIL PROTECTED]

The error can be reproduced by creating the following file:

[test]
   foo = bar~

and then running it through parse_ini_file.

This produces the following error:

Warning: Error parsing temp.ini on line 2 in Unknown on line 0

Using Debian Testing with PHP package version 4.0.100-1.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15006&edit=1

Reply via email to