ini_get_all
ini_get_all
ini_get_all
- It gets all configuration options
Syntax:
array ini_get_all ( [string extension])
It returns all the registered configuration options as an
associative array. If optional extension parameter is set, returns only options
specific for that extension.
Example:
$result = ini_get_all();
print_r($result);
Here, all the registered configuration options are stored in the $result array.
Some of these contents are
Array
(
[allow_call_time_pass_reference] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 6
)
[allow_url_fopen] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)
[always_populate_raw_post_data] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 6
)
[arg_separator.input] => Array
(
[global_value] => &
[local_value] => &
[access] => 6
)
)
…….
