我有一段PHP代码:
class Test {
function someThing(){ return 1}
}
$test = new Test();
//why this isn't printing bla bla bla 1????
echo "bla bla bla $test->someThing()";
但是似乎我不能在双引号字符串中调用函数。
我该怎么做呢?
谢谢。