|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69361 ini_get_all('core') should only return core ini settings
Submitted: 2015-04-03 00:05 UTC Modified: 2021-08-18 13:48 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: anner at eigengang dot nl Assigned:
Status: Open Package: PHP options/info functions
PHP Version: 5.6.7 OS: Linux (Debian 8)
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: anner at eigengang dot nl
New email:
PHP Version: OS:


 [2015-04-03 00:05 UTC] anner at eigengang dot nl
ini_get_all('core') returns ini settings of all extensions, not only of the Core extension. IMHO this should only happen when you call ini_get_all().

Test script:
<?php var_dump(ini_get_all('core')); ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-18 13:48 UTC]
This appears to be a deliberate design decision[1], dating back to
the introduction of this function; while I don't understand the
reasoning, it is clearly something that cannot be changed without
causing a BC break, so I'm changing to feature request.

I also added relevant documentation[2].

[1] <>
[2] <>
 [2021-08-18 13:48 UTC]
-Summary: ini_get_all('core') returns all ini settings +Summary: ini_get_all('core') should only return core ini settings -Type: Bug +Type: Feature/Change Request
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 21:01:29 2024 UTC