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
memory_get_peak_usage
memory_get_peak_usage
Returnsthepeakmemory
memory_get_usage
memory_get_usage
Returnstheamountofme
ini_restore
ini_restore
Restorethevalueofthe
getmygid
getmygid
GetthecurrentPHPscri
phpcredits
phpcredits
PrintthePHPContribut
ini_parse_quantity
ini_parse_quantity
Getinterpretedsizefr
cli_set_process_title
cli_set_process_title
Setprocesstitle
memory_reset_peak_usage
memory_reset_peak_usage
Resetthepeakmemoryus
Popular Articles
Analysis of constant difference before and after automatic loading of Composer
Will it affect performance? Recommendations for use in large-scale projects
Write a debugging function to automatically highlight important constants
Get SPL, PDO and other module related constants
get_defined_constants() Why does it return nested arrays?
Create a cache system to save constant state
How to list all PHP built-in constants
Use get_defined_constants() to find predefined constants during debugging