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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri May 03 17:01:32 2024 UTC