php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14022 ini_get_all() does not display local values
Submitted: 2001-11-11 23:08 UTC Modified: 2001-11-12 19:38 UTC
From: yasuo_ohgaki at yahoo dot com Assigned: sniper (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0CVS-2001-11-11 OS: linux 2.4.4/glibc 2.2.2
Private report: No CVE-ID: None
 [2001-11-11 23:08 UTC] yasuo_ohgaki at yahoo dot com
I'm not sure if this is intended.
ini_get_all() does not display local values.
It should display active local values even if user has not modified values. IMHO.

<pre>
<?php

print_r(ini_get_all());

?>
</pre>

displays

=========== begin ==========
Array
(
    [allow_call_time_pass_reference] => Array
        (
            [global_value] => [local_value] => [access] => 6
        )

    [allow_url_fopen] => Array
        (
            [global_value] => 1
            [local_value] => [access] => 7
        )

    [always_populate_raw_post_data] => Array
        (
            [global_value] => 0
            [local_value] => [access] => 7
        )

    [arg_separator.input] => Array
        (
            [global_value] => ;&
[local_value] => [access] => 6
        )


*SNIP*
===== end ======

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-12 18:53 UTC] sniper@php.net
Thanks for noticing this. I might have mixed them together.
And Zend does something wierd there too. I'm looking into
this now.

--Jani

 [2001-11-12 19:38 UTC] sniper@php.net
Should be fixed now in CVS. Please check it out and let
me know if the logic is still wrong..

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC