Is there a way to have a function inside a literal string evaluated
similar to variable or array evaluation?
something similar to this?
$dt = "The order was sent ${date('F j, Y')}. Please make a note of it"
or do I have to create a variable first or concatenate the string.
similar to variable or array evaluation?
something similar to this?
$dt = "The order was sent ${date('F j, Y')}. Please make a note of it"
or do I have to create a variable first or concatenate the string.
Comment