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
 [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 Apr 26 22:01:29 2024 UTC