php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51817 php .ini file parser does not allow ! in ini values
Submitted: 2010-05-14 03:00 UTC Modified: 2010-05-14 05:01 UTC
From: 5superbsd at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: Irrelevant OS: windows7
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: 5superbsd at gmail dot com
New email:
PHP Version: OS:

 

 [2010-05-14 03:00 UTC] 5superbsd at gmail dot com
Description:
------------
if in .ini file values has '!',parse_ini_file will failed.

Test script:
---------------
this is en_GB.ini file code:

SOFT_DESCRIPTION=create the Joomla! templateDetails.xml file

this is php file code:
$language = parse_ini_file($language_file);




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-14 05:01 UTC] dtajchreber@php.net
-Status: Open +Status: Bogus
 [2010-05-14 05:01 UTC] dtajchreber@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

SOFT_DESCRIPTION = "create the Joomla! templateDetails.xml file"

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 12:00:03 2025 UTC