I have a function in PHP that I must pass a string parameter into. I have a file with many constant definitions, like:
define('MSG_CATEGORY_THINGS', things);
I would like to transform my constant MSG_CATEGORY_THINGS
into a string with value 'MSG_CATEGORY_THINGS'
without putting single quotes in the parameter.
Is it possible to do that?