php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45768 parse_ini_file and the hash character
Submitted: 2008-08-08 17:23 UTC Modified: 2015-01-09 01:24 UTC
From: jtaal at eljakim dot nl Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 5.2.6 OS: debian etch
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: jtaal at eljakim dot nl
New email:
PHP Version: OS:

 

 [2008-08-08 17:23 UTC] jtaal at eljakim dot nl
Description:
------------
On linux commenting lines in ini like files is oftenly done with # characters instead of ; characters (my.cnf for example)
Maybe there should be a setting where you can set (an array of) the comment start characters?


Reproduce code:
---------------
array parse_ini_file ( string $filename [[, bool $process_sections ], array $comment_delimiters ])


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-09 01:24 UTC] ajf@php.net
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: *General Issues
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC