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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC