ID:               30540
 User updated by:  pookey at pookey dot co dot uk
 Reported By:      pookey at pookey dot co dot uk
-Status:           Bogus
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: linux
 PHP Version:      5.0.2
 New Comment:

I'm an idiot sometimes, sorry about that one.... I have no 
excuse :)


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

[2004-10-23 15:41:12] [EMAIL PROTECTED]

There _are_ quotes in the example. 


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

[2004-10-23 15:27:00] pookey at pookey dot co dot uk

Description:
------------
http://uk2.php.net/parse_ini_file

Here, there are exmaples where a ~ is used in an ini file.

moo = http://..../~pookey/moo

however, in PHP5 this needs to be 

moo = "http://..../~pookey/moo";

I don't know if the docs need updating, or if this is a bug in the
function!


Kind Regards,

Reproduce code:
---------------
<?php

    parse_ini_file('./tests.ini', true);

?>
!!! END PHP FILE !!! START OF INI FILE !!!

[paths]
TEST_HTTP_PATH = http://localhost/~pookey/wact/tests/cases/web_tests


Expected result:
----------------
No parse error? or documentation showing "'s around the strings....

Actual result:
--------------
Parse error whilst parsing ini file.


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


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

Reply via email to