PHP function Ini_get_all Get an Introduction to Setting option variables _php Tutorial

Source: Internet
Author: User
For beginnersReturns all option values as an array, so you can use them when the phpinfo () is not available.

PHP function Ini_get_all Examples of manuals, such as:

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

The above is the PHP function Ini_get_all related use method, hope to be helpful to everybody.


http://www.bkjia.com/PHPjc/446225.html www.bkjia.com true http://www.bkjia.com/PHPjc/446225.html techarticle for beginners to return all option values as an array, it is convenient for you to use when phpinfo () cannot be used. PHP function Ini_get_all Manual examples, such as:? php $ inis = ini_g ...

  • 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.