ini_get_all

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
)
)
…….

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.