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
usleep
usleep
Delayexecutionwithsp
sapi_windows_cp_set
sapi_windows_cp_set
Settingupprocesscode
highlight_file
highlight_file
Syntaxhighlightingaf
unpack
unpack
Decompressdatafrombi
connection_aborted
connection_aborted
Checkiftheclientisdi
get_browser
get_browser
Getthefunctionsthatt
hrtime
hrtime
Obtainthesystem'
constant
constant
Returnthevalueofacon
Popular Articles
How to Use PHP’s defined() Function to Prevent Constant Redefinition Conflicts
What Are the Practical Uses of the defined() Function in PHP Conditional Statements?
What is the defined() Function in PHP? How to Use It to Check if a Constant Is Already Defined?
The combined use of defined() and constant() function
How to Use PHP's defined() Function to Dynamically Check and Create Constants: Practical Tips
Combining defined() and require_once: How to Prevent PHP Files from Being Loaded Multiple Times