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
sapi_windows_vt100_support
sapi_windows_vt100_support
GetsorsetsVT100suppo
sapi_windows_cp_is_utf8
sapi_windows_cp_is_utf8
Indicateswhetherthec
time_nanosleep
time_nanosleep
Delayexecutionforsev
php_strip_whitespace
php_strip_whitespace
ReturnthePHPsourceco
unpack
unpack
Decompressdatafrombi
sapi_windows_cp_set
sapi_windows_cp_set
Settingupprocesscode
hrtime
hrtime
Obtainthesystem'
ignore_user_abort
ignore_user_abort
Setwhethertheexecuti
Popular Articles
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
What is the defined() Function in PHP? How to Use It to Check if a Constant Is Already Defined?
How to Use PHP’s defined() Function to Prevent Constant Redefinition Conflicts
The combined use of defined() and constant() function
Combining defined() and require_once: How to Prevent PHP Files from Being Loaded Multiple Times