From 39efef016dbe9d9b2b1be496e4e59cc658a2f6f9 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 6 Jun 2003 16:43:29 +0000 Subject: [PATCH] Added information on what the return values mean, an example, and see also get_loaded_extensions() and phpinfo(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130439 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/ini-get-all.xml | 61 ++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/reference/info/functions/ini-get-all.xml b/reference/info/functions/ini-get-all.xml index c4435ee35f..ba3ef2d1d0 100644 --- a/reference/info/functions/ini-get-all.xml +++ b/reference/info/functions/ini-get-all.xml @@ -1,5 +1,5 @@ - + @@ -18,10 +18,65 @@ parameter is set, returns only options specific for that extension. + + The returned array uses the directive name as the array key, with + elements of that array being global_value (set in + &php.ini;), local_value (perhaps set with + ini_set or &htaccess;), and + access (the access level). See the manual section + on configuration changes + for information on what access levels mean. + + + Access level note: + + It's possible for a directive to have multiple access levels, which is + why access shows the appropriate bitmask values. + + + + + A <function>ini_get_all</function> example + + Array + ( + [global_value] => 1 + [local_value] => 1 + [access] => 6 + ) + [allow_url_fopen] => Array + ( + [global_value] => 1 + [local_value] => 1 + [access] => 7 + ) + + ... + +) +*/ +?> +]]> + + + See also: ini_alter, - ini_restore, ini_get, - and ini_set + ini_restore, + ini_get, + ini_set, + get_loaded_extensions, and + phpinfo.