Complete PHP Misc Reference
The defined() function checks whether a constant exists.
Returns TRUE if the constant exists, or FALSE otherwise.
| Parameter | Description |
|---|---|
| name | Required. Specifies the name of the constant to check |
The output of the code above will be:
Complete PHP Misc Reference
Your message has been sent to W3Schools.