PHP function ini_get_all: how to obtain the set option variable _ PHP Tutorial

Source: Internet
Author: User
The PHP function ini_get_all describes how to obtain the set option variable. All option values are returned as arrays for beginners, so that you can use them when phpinfo () is unavailable. Example of the PHP function ini_get_all manual, for example :? Php $ inisini_g for beginnersReturn all option values in the form of an array, so that you can use it when phpinfo () is unavailable.

Example of the PHP function ini_get_all manual, for example:

 
 
  1. < ?php
  2. $inis = ini_get_all();
  3. print_r($inis);
  4. ?>

Partial output:

 
 
  1. Array
  2. (
  3. [allow_call_time_pass_
    reference] => Array
  4. (
  5. [global_value] => 1
  6. [local_value] => 1
  7. [access] => 6
  8. )
  9. [allow_url_fopen] => Array
  10. (
  11. [global_value] => 1
  12. [local_value] => 1
  13. [access] => 7
  14. )
  15. )

The above describes how to use the PHP function ini_get_all. I hope it will be helpful to you.


Explain returns all option values in the form of an array, so that you can use it when phpinfo () is unavailable. Example of the PHP function ini_get_all manual, for example :? Php $ inis = ini_g...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.