HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Misc Reference : Return the value of a constant
The constant() function returns the value of a constant.
Parameter | Description |
---|---|
constant | Required. Specifies the name of the constant to check |
Return Value: | Returns the value of a constant, or NULL if the constant is not defined |
---|---|
PHP Version: | 4+ |
❮ PHP Misc Reference