php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35576 confusing note when compared to example on parse_ini_file
Submitted: 2005-12-07 00:43 UTC Modified: 2005-12-07 12:46 UTC
From: lig at maolek dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lig at maolek dot com
New email:
PHP Version: OS:

 

 [2005-12-07 00:43 UTC] lig at maolek dot com
Description:
------------
documentation page: http://www.php.net/parse_ini_file

There is a note that states: 'If a value in the ini file contains any non-alphanumeric characters it needs to be enclosed in double-quotes (").' and right below it is an example that doesn't follow it.  Unless slashes are considered part of the alphanumeric set.

Specific part of example:
[second_section]
path = /usr/local/bin  <-- this needs to be double quoted
URL = "http://www.example.com/~username"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-07 12:46 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC