How can I get PHP to evaluate a static variable in double quotes?
I want to do something like this:
log("self::$CLASS $METHOD entering");
//define below function EXPR($v) { return $v; } $E = EXPR; //now you can use it in string echo "hello - three is equal to $E(1+2)";