PHP DEFINE literal in a double quoted string
Posted on 2011-03-21
Simple $variables expand if they're in a DOUBLE quoted string
ex: "Today's Date: $DateVariable"
if i have a DEFINE literal is there any syntax escapement to get them to expand (be replaced) in a double quoted string?
DEFINE DAILY_MODE =1
echo "The mode value is DAILY_MODE ";
echo "The mode value is ". DAILY_MODE;