Php output page all variables

Source: Internet
Author: User
Sources of all variables on the php output page:

Php output page all variables
Print_r (get_defined_vars ());

This function returns a multidimensional array containing the list of all defined variables, including environment variables, server variables, and user-defined variables.

Obtain all defined functions
Get_defined_functions ()
Obtain all available modules
Get_loaded_extensions ()
Obtains available functions of a specified module.
Get_extension_funcs ()

This function returns all available functions of the specified module. The input parameter (module name) must be in lowercase.

Get all constants and their values in the name of the associated array? (PHP 4> = 4.1.0, PHP 5)
Get_defined_constants ()

Get_declared_classes(PHP 4, PHP 5 )? Obtains an array composed of the names of defined classes.

Get_declared_classes ()

Get_included_files () (or get_require_files)(PHP 4, PHP 5 )? Obtains an array composed of the names of defined classes.

Get_included_files ()

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.