摘要: 把对象当参数传递给方法,在方法里改过对象后,影响到外面的对象 因为对象是引用传递过去的class Book { public $name; public function __construct($name) { $this->name = (string)$n... 阅读全文
posted @ 2014-05-11 01:06 一束光 阅读(583) 评论(0) 推荐(0) 编辑

友情链接

CFC4N