|  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
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.
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: Thu Jun 17 01:01:24 2021 UTC