<?phpclass test{public function show(){ echo "我是show 方法";}}$stu=new test();$stu->show(); //调用方法show public 可以省去?>