|  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.
Block user comment
Status: Assign to:
Bug Type:
From: jtaal at eljakim dot nl
New email:
PHP Version: OS:


 [2008-08-08 17:23 UTC] jtaal at eljakim dot nl
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 ])


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-09 01:24 UTC]
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: *General Issues
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 23 14:03:33 2021 UTC