Is it possible to call a function directly inline (and get its result) in a string in PHP?
Normally the .
concatenate character can be used.
$x = "Class Name : '" . get_class($class) . "'";
I want to do something like this:
$x = "Class Name : '${get_class($class)}'";