All defined constants
Moderator: General Moderators
All defined constants
Is there any easy way to echo (the name and value of ) all defined constants? Thanks.
-
Mark Baker
- Forum Regular
- Posts: 710
- Joined: Thu Oct 30, 2008 6:24 pm
Re: All defined constants
get_defined_constants()
You can then loop through the array with the constant() function
You can then loop through the array with the constant() function