|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 - 44 = ?
Subscribe to this entry?

 [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 03:01:23 2021 UTC