Bug->Req #69361 [Opn]: ini_get_all('core') should only return core ini settings

From: Date: Wed, 18 Aug 2021 13:48:56 +0000
Subject: Bug->Req #69361 [Opn]: ini_get_all('core') should only return core ini settings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235940@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69361&edit=1 ID: 69361 Updated by: cmb@php.net Reported by: anner at eigengang dot nl -Summary: ini_get_all('core') returns all ini settings +Summary: ini_get_all('core') should only return core ini settings Status: Open -Type: Bug +Type: Feature/Change Request Package: PHP options/info functions Operating System: Linux (Debian 8) PHP Version: 5.6.7 Block user comment: N Private report: N New Comment: 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] <https://github.com/php/php-src/blob/php-7.4.22/ext/standard/basic_functions.c#L5460-L5462> [2] <https://github.com/php/doc-en/commit/1d06db6914a22f97f20daad964b3d5c5511b2552> Previous Comments: ------------------------------------------------------------------------ [2015-04-03 00:05:41] anner at eigengang dot nl Description: ------------ 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')); ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69361&edit=1

« previous php.bugs (#235940) next »