Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
protected function _return() { return 'something'; }
如何打印方法的内容?我想回显return 'something';为字符串...
return 'something';
您不能从运行代码中获取方法的源代码这样的事情。
你必须作弊: