Home
PHP
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
get_defined_constants
get_defined_constants
Returns the associative array of all defined constants
Name:
get_defined_constants
Category:
PHP Options and Information
Programming Language:
php
One-line Description:
Returns the associative array of all defined constants
Related
Use get_defined_constants() to find predefined constants during debugging
7
How to list all PHP built-in constants
5
Why do some constants not appear in the result?
10
Why do some constants appear as null values?
1
Can't you use this function to get a constant directly? How to solve it
8
The reason why get_defined_constants() does not return class constants
3
get_defined_constants() Why does it return nested arrays?
9
How to expand a constant group with array_walk_recursive()
1
Use array_key_exists() to check if a constant exists
7
Combine define() with get_defined_constants() to view custom constants
7
The difference between get_defined_constants(true) and get_defined_constants(false)
5
Get the difference between user-defined constants and system constants
3
«
1
2
3
»
Similar Functions
assert_options
assert_options
Set/getvariousflagsf
phpversion
phpversion
GetthecurrentPHPvers
get_magic_quotes_gpc
get_magic_quotes_gpc
Getthecurrentconfigu
cli_get_process_title
cli_get_process_title
Returntothecurrentpr
ini_parse_quantity
ini_parse_quantity
Getinterpretedsizefr
get_cfg_var
get_cfg_var
GetthevalueofPHPconf
ini_get
ini_get
Getthevalueofaconfig
set_include_path
set_include_path
Setinclude_pathconfi
Popular Articles
The best way to format all constant values
Will it affect performance? Recommendations for use in large-scale projects
Why do some constants appear as null values?
Get the difference between user-defined constants and system constants
Can't you use this function to get a constant directly? How to solve it
Use get_defined_constants() to find predefined constants during debugging
Use get_defined_constants() to quickly locate constants to define positions (indirect trick)
Why do some constants not appear in the result?