php new 拼接的字符串

$keys = "\\wuwu\\wuwuiw\\shssiu";
$mWuwu = new $keys();
$describe = $mWuwu->describe();
var_dump(expression);#111


namespace wuwu\wuwuiw;
class shssiu{
   public function describe(){
    return 111;
   }
}

你可能感兴趣的:(php,php)