class A{ function say(){ print "a"; } } $a = new A(); $a->say(); 这里的创建对象$a = new A();与$a = new A;有区别吗? 查看完整描述