Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
defined
defined
Check if a constant with a name exists
Name:
defined
Category:
Miscellaneous
Programming Language:
php
One-line Description:
Check if the constant exists.
Related
How to Use PHP’s defined() Function to Prevent Constant Redefinition Conflicts
10
How to Use PHP's defined() Function to Dynamically Check and Create Constants: Practical Tips
8
The combined use of defined() and constant() function
7
Combining defined() and require_once: How to Prevent PHP Files from Being Loaded Multiple Times
7
6
What Are the Practical Uses of the defined() Function in PHP Conditional Statements?
6
What is the defined() Function in PHP? How to Use It to Check if a Constant Is Already Defined?
4
Similar Functions
sys_getloadavg
sys_getloadavg
Obtaintheaverageload
unpack
unpack
Decompressdatafrombi
sapi_windows_cp_is_utf8
sapi_windows_cp_is_utf8
Indicateswhetherthec
sapi_windows_cp_get
sapi_windows_cp_get
Getthecurrentcodepag
connection_status
connection_status
Returntothestatusbit
php_strip_whitespace
php_strip_whitespace
ReturnthePHPsourceco
hrtime
hrtime
Obtainthesystem'
sapi_windows_vt100_support
sapi_windows_vt100_support
GetsorsetsVT100suppo
Popular Articles
What is the defined() Function in PHP? How to Use It to Check if a Constant Is Already Defined?
What Are the Practical Uses of the defined() Function in PHP Conditional Statements?
How to Use PHP's defined() Function to Dynamically Check and Create Constants: Practical Tips
The combined use of defined() and constant() function
How to Use PHP’s defined() Function to Prevent Constant Redefinition Conflicts
Combining defined() and require_once: How to Prevent PHP Files from Being Loaded Multiple Times