debugging - How do I examine defined constants in PHP? -
I am proceeding with the Xdebug in NetBeans through CodeIgniter's source code and exploring a method I see defined constants If they are defined as if it is not possible, then are there other ways to display all defined constants?
Take a look at this function. This function will return an array of all defined constants in the code up to the point of call. Then you can use the array to print.
Comments
Post a Comment